pub struct EuvGridCol {
pub span: u32,
pub offset: u32,
}Expand description
One column of a grid row.
Carries the column’s share of the row and the space it is pushed to the right by, both counted in the row’s twenty-four columns.
Fields§
§span: u32How many of the row’s twenty-four columns this column takes.
offset: u32How many columns to push this one to the right by.
Implementations§
Source§impl EuvGridCol
impl EuvGridCol
pub fn get_span(&self) -> u32
pub fn get_mut_span(&mut self) -> &mut u32
pub fn set_span(&mut self, val: u32) -> &mut Self
pub fn get_offset(&self) -> u32
pub fn get_mut_offset(&mut self) -> &mut u32
pub fn set_offset(&mut self, val: u32) -> &mut Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EuvGridCol
impl RefUnwindSafe for EuvGridCol
impl Send for EuvGridCol
impl Sync for EuvGridCol
impl Unpin for EuvGridCol
impl UnsafeUnpin for EuvGridCol
impl UnwindSafe for EuvGridCol
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