Struct rui::CommandGroup
source · [−]pub struct CommandGroup<V, C> { /* private fields */ }
Implementations
sourceimpl<V, C> CommandGroup<V, C> where
V: View,
C: CommandTuple,
impl<V, C> CommandGroup<V, C> where
V: View,
C: CommandTuple,
Trait Implementations
sourceimpl<V, C> View for CommandGroup<V, C> where
V: View,
C: CommandTuple,
impl<V, C> View for CommandGroup<V, C> where
V: View,
C: CommandTuple,
sourcefn process(&self, event: &Event, id: ViewID, cx: &mut Context, vger: &mut VGER)
fn process(&self, event: &Event, id: ViewID, cx: &mut Context, vger: &mut VGER)
Processes an event.
sourcefn layout(
&self,
id: ViewID,
sz: LocalSize,
cx: &mut Context,
vger: &mut VGER
) -> LocalSize
fn layout(
&self,
id: ViewID,
sz: LocalSize,
cx: &mut Context,
vger: &mut VGER
) -> LocalSize
Lays out subviews and return the size of the view.
sourcefn hittest(
&self,
id: ViewID,
pt: LocalPoint,
cx: &mut Context,
vger: &mut VGER
) -> Option<ViewID>
fn hittest(
&self,
id: ViewID,
pt: LocalPoint,
cx: &mut Context,
vger: &mut VGER
) -> Option<ViewID>
Returns the topmost view which the point intersects.
sourcefn commands(&self, id: ViewID, cx: &mut Context, cmds: &mut Vec<CommandInfo>)
fn commands(&self, id: ViewID, cx: &mut Context, cmds: &mut Vec<CommandInfo>)
Accumulates information about menu bar commands.
Auto Trait Implementations
impl<V, C> RefUnwindSafe for CommandGroup<V, C> where
C: RefUnwindSafe,
V: RefUnwindSafe,
impl<V, C> Send for CommandGroup<V, C> where
C: Send,
V: Send,
impl<V, C> Sync for CommandGroup<V, C> where
C: Sync,
V: Sync,
impl<V, C> Unpin for CommandGroup<V, C> where
C: Unpin,
V: Unpin,
impl<V, C> UnwindSafe for CommandGroup<V, C> where
C: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more