pub struct LayoutCoordinator<A>where
A: CoordinatorApp,{ /* private fields */ }Implementations§
Source§impl<A> LayoutCoordinator<A>where
A: CoordinatorApp,
impl<A> LayoutCoordinator<A>where
A: CoordinatorApp,
pub fn new(app: A) -> LayoutCoordinator<A>
pub fn with_config(self, config: CoordinatorConfig) -> LayoutCoordinator<A>
pub fn app(&self) -> &A
pub fn app_mut(&mut self) -> &mut A
pub fn layout(&self) -> &LayoutManager
pub fn layout_mut(&mut self) -> &mut LayoutManager
pub fn focus(&self) -> &FocusManager
pub fn focus_mut(&mut self) -> &mut FocusManager
pub fn mouse(&self) -> &MouseRouter
pub fn mouse_mut(&mut self) -> &mut MouseRouter
pub fn is_dirty(&self) -> bool
pub fn invalidate_layout(&mut self)
pub fn invalidate_elements(&mut self)
pub fn set_dirty(&mut self)
pub fn clear_dirty(&mut self)
pub fn handle_event( &mut self, event: CoordinatorEvent, ) -> Result<CoordinatorAction, LayoutError>
pub fn get_diagnostic_info(&self) -> DiagnosticInfo
Trait Implementations§
Auto Trait Implementations§
impl<A> Freeze for LayoutCoordinator<A>where
A: Freeze,
impl<A> !RefUnwindSafe for LayoutCoordinator<A>
impl<A> Send for LayoutCoordinator<A>where
A: Send,
impl<A> Sync for LayoutCoordinator<A>where
A: Sync,
impl<A> Unpin for LayoutCoordinator<A>where
A: Unpin,
impl<A> UnsafeUnpin for LayoutCoordinator<A>where
A: UnsafeUnpin,
impl<A> !UnwindSafe for LayoutCoordinator<A>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more