#[repr(C)]pub struct GridPlacement {
pub grid_start: GridLine,
pub grid_end: GridLine,
}Expand description
Represents grid-row or grid-column (start / end)
Fields§
§grid_start: GridLine§grid_end: GridLineTrait Implementations§
Source§impl Clone for GridPlacement
impl Clone for GridPlacement
Source§fn clone(&self) -> GridPlacement
fn clone(&self) -> GridPlacement
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 Debug for GridPlacement
impl Debug for GridPlacement
Source§impl Default for GridPlacement
impl Default for GridPlacement
Source§impl FormatAsRustCode for GridPlacement
impl FormatAsRustCode for GridPlacement
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl Hash for GridPlacement
impl Hash for GridPlacement
Source§impl Ord for GridPlacement
impl Ord for GridPlacement
Source§fn cmp(&self, other: &GridPlacement) -> Ordering
fn cmp(&self, other: &GridPlacement) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GridPlacement
impl PartialEq for GridPlacement
Source§impl PartialOrd for GridPlacement
impl PartialOrd for GridPlacement
Source§impl PrintAsCssValue for GridPlacement
impl PrintAsCssValue for GridPlacement
fn print_as_css_value(&self) -> String
impl Eq for GridPlacement
impl StructuralPartialEq for GridPlacement
Auto Trait Implementations§
impl Freeze for GridPlacement
impl RefUnwindSafe for GridPlacement
impl Send for GridPlacement
impl Sync for GridPlacement
impl Unpin for GridPlacement
impl UnwindSafe for GridPlacement
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