pub struct NamedGridLine<CustomIdent: CheapCloneStr> {
pub name: CustomIdent,
pub index: u16,
}
Expand description
Defines a named grid line
Fields§
§name: CustomIdent
The name of the grid area which
index: u16
The index of the row at which the grid area starts in grid coordinates.
Trait Implementations§
Source§impl<CustomIdent: Clone + CheapCloneStr> Clone for NamedGridLine<CustomIdent>
impl<CustomIdent: Clone + CheapCloneStr> Clone for NamedGridLine<CustomIdent>
Source§fn clone(&self) -> NamedGridLine<CustomIdent>
fn clone(&self) -> NamedGridLine<CustomIdent>
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 moreSource§impl<CustomIdent: Debug + CheapCloneStr> Debug for NamedGridLine<CustomIdent>
impl<CustomIdent: Debug + CheapCloneStr> Debug for NamedGridLine<CustomIdent>
Source§impl<CustomIdent: PartialEq + CheapCloneStr> PartialEq for NamedGridLine<CustomIdent>
impl<CustomIdent: PartialEq + CheapCloneStr> PartialEq for NamedGridLine<CustomIdent>
impl<CustomIdent: CheapCloneStr> StructuralPartialEq for NamedGridLine<CustomIdent>
Auto Trait Implementations§
impl<CustomIdent> Freeze for NamedGridLine<CustomIdent>where
CustomIdent: Freeze,
impl<CustomIdent> RefUnwindSafe for NamedGridLine<CustomIdent>where
CustomIdent: RefUnwindSafe,
impl<CustomIdent> Send for NamedGridLine<CustomIdent>where
CustomIdent: Send,
impl<CustomIdent> Sync for NamedGridLine<CustomIdent>where
CustomIdent: Sync,
impl<CustomIdent> Unpin for NamedGridLine<CustomIdent>where
CustomIdent: Unpin,
impl<CustomIdent> UnwindSafe for NamedGridLine<CustomIdent>where
CustomIdent: 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