pub enum GridEdge {
Auto,
Line(i16),
Span(u16),
}Expand description
One edge of a grid item’s placement.
Variants§
Auto
Placed automatically.
Line(i16)
At a line: 1 is the first, -1 the last explicit line.
Span(u16)
So many tracks from the other edge.
Trait Implementations§
impl Copy for GridEdge
impl Eq for GridEdge
impl StructuralPartialEq for GridEdge
Auto Trait Implementations§
impl Freeze for GridEdge
impl RefUnwindSafe for GridEdge
impl Send for GridEdge
impl Sync for GridEdge
impl Unpin for GridEdge
impl UnsafeUnpin for GridEdge
impl UnwindSafe for GridEdge
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