pub struct ThreePaneScaffoldDestinationItem<T> {
pub pane: ThreePaneScaffoldRole,
pub content_key: Option<T>,
}Expand description
One back-stack entry as the pane scaffold sees it: the pane it fills, and what it shows there.
Fields§
§pane: ThreePaneScaffoldRoleThe pane the entry fills.
content_key: Option<T>The entry’s content key, if it has one.
Implementations§
Source§impl<T> ThreePaneScaffoldDestinationItem<T>
impl<T> ThreePaneScaffoldDestinationItem<T>
Sourcepub fn new(
pane: ThreePaneScaffoldRole,
content_key: Option<T>,
) -> ThreePaneScaffoldDestinationItem<T>
pub fn new( pane: ThreePaneScaffoldRole, content_key: Option<T>, ) -> ThreePaneScaffoldDestinationItem<T>
Creates a destination item for pane showing content_key.
Trait Implementations§
Source§impl<T: Clone> Clone for ThreePaneScaffoldDestinationItem<T>
impl<T: Clone> Clone for ThreePaneScaffoldDestinationItem<T>
Source§impl<T: Debug> Debug for ThreePaneScaffoldDestinationItem<T>
impl<T: Debug> Debug for ThreePaneScaffoldDestinationItem<T>
Source§impl<T: PartialEq> PartialEq for ThreePaneScaffoldDestinationItem<T>
impl<T: PartialEq> PartialEq for ThreePaneScaffoldDestinationItem<T>
impl<T: PartialEq> StructuralPartialEq for ThreePaneScaffoldDestinationItem<T>
Auto Trait Implementations§
impl<T> Forget for ThreePaneScaffoldDestinationItem<T>
impl<T> Freeze for ThreePaneScaffoldDestinationItem<T>where
T: Freeze,
impl<T> Move for ThreePaneScaffoldDestinationItem<T>
impl<T> RefUnwindSafe for ThreePaneScaffoldDestinationItem<T>where
T: RefUnwindSafe,
impl<T> Send for ThreePaneScaffoldDestinationItem<T>where
T: Send,
impl<T> Sync for ThreePaneScaffoldDestinationItem<T>where
T: Sync,
impl<T> Unpin for ThreePaneScaffoldDestinationItem<T>where
T: Unpin,
impl<T> UnsafeUnpin for ThreePaneScaffoldDestinationItem<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ThreePaneScaffoldDestinationItem<T>where
T: UnwindSafe,
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