pub struct View {Show 13 fields
pub id: &'static str,
pub pane_view: Option<&'static str>,
pub label_key: &'static str,
pub icon: &'static str,
pub build: u32,
pub effect: Effect,
pub sensitivity: Sensitivity,
pub agent: AgentRule,
pub surfaces: &'static [&'static str],
pub command: Option<&'static str>,
pub prefix: bool,
pub requires_place: bool,
pub places: &'static [Place],
}Fields§
§id: &'static str§pane_view: Option<&'static str>The pane view it opens (block meta.view); None for a view that is not a pane.
label_key: &'static str§icon: &'static str§build: u32§effect: Effect§sensitivity: Sensitivity§agent: AgentRule§surfaces: &'static [&'static str]§command: Option<&'static str>§prefix: boolThe link’s view is <id>.<package> (a widget).
requires_place: bool§places: &'static [Place]Trait Implementations§
impl Copy for View
impl Eq for View
impl StructuralPartialEq for View
Auto Trait Implementations§
impl Freeze for View
impl RefUnwindSafe for View
impl Send for View
impl Sync for View
impl Unpin for View
impl UnsafeUnpin for View
impl UnwindSafe for View
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more