pub struct SnapshotGridItem {
pub span: Option<CardSpan>,
pub node: SnapshotNode,
}Expand description
A grid item inside a SnapshotNode::Grid container.
Wraps a child node with an optional column span. Items without a span use the default single-column placement.
Fields§
§span: Option<CardSpan>§node: SnapshotNodeTrait Implementations§
Source§impl Clone for SnapshotGridItem
impl Clone for SnapshotGridItem
Source§fn clone(&self) -> SnapshotGridItem
fn clone(&self) -> SnapshotGridItem
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SnapshotGridItem
impl RefUnwindSafe for SnapshotGridItem
impl Send for SnapshotGridItem
impl Sync for SnapshotGridItem
impl Unpin for SnapshotGridItem
impl UnsafeUnpin for SnapshotGridItem
impl UnwindSafe for SnapshotGridItem
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