#[repr(C)]pub struct GridTemplate {
pub tracks: GridTrackSizingVec,
}Expand description
Represents grid-template-columns or grid-template-rows
Fields§
§tracks: GridTrackSizingVecTrait Implementations§
Source§impl Clone for GridTemplate
impl Clone for GridTemplate
Source§fn clone(&self) -> GridTemplate
fn clone(&self) -> GridTemplate
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 GridTemplate
impl Debug for GridTemplate
Source§impl Default for GridTemplate
impl Default for GridTemplate
Source§impl FormatAsRustCode for GridTemplate
impl FormatAsRustCode for GridTemplate
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl From<GridTemplate> for GridAutoTracks
impl From<GridTemplate> for GridAutoTracks
Source§fn from(template: GridTemplate) -> Self
fn from(template: GridTemplate) -> Self
Converts to this type from the input type.
Source§impl Hash for GridTemplate
impl Hash for GridTemplate
Source§impl Ord for GridTemplate
impl Ord for GridTemplate
Source§fn cmp(&self, other: &GridTemplate) -> Ordering
fn cmp(&self, other: &GridTemplate) -> 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 GridTemplate
impl PartialEq for GridTemplate
Source§impl PartialOrd for GridTemplate
impl PartialOrd for GridTemplate
Source§impl PrintAsCssValue for GridTemplate
impl PrintAsCssValue for GridTemplate
fn print_as_css_value(&self) -> String
impl Eq for GridTemplate
impl StructuralPartialEq for GridTemplate
Auto Trait Implementations§
impl Freeze for GridTemplate
impl RefUnwindSafe for GridTemplate
impl Send for GridTemplate
impl Sync for GridTemplate
impl Unpin for GridTemplate
impl UnwindSafe for GridTemplate
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