#[repr(C)]pub struct GridTemplateAreas {
pub areas: GridAreaDefinitionVec,
}Expand description
Represents the parsed value of grid-template-areas.
Example CSS:
grid-template-areas:
"header header header"
"sidebar main aside"
"footer footer footer";Fields§
§areas: GridAreaDefinitionVecTrait Implementations§
Source§impl Clone for GridTemplateAreas
impl Clone for GridTemplateAreas
Source§fn clone(&self) -> GridTemplateAreas
fn clone(&self) -> GridTemplateAreas
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 GridTemplateAreas
impl Debug for GridTemplateAreas
Source§impl Default for GridTemplateAreas
impl Default for GridTemplateAreas
Source§impl FormatAsRustCode for GridTemplateAreas
impl FormatAsRustCode for GridTemplateAreas
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl Hash for GridTemplateAreas
impl Hash for GridTemplateAreas
Source§impl Ord for GridTemplateAreas
impl Ord for GridTemplateAreas
Source§fn cmp(&self, other: &GridTemplateAreas) -> Ordering
fn cmp(&self, other: &GridTemplateAreas) -> 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 GridTemplateAreas
impl PartialEq for GridTemplateAreas
Source§impl PartialOrd for GridTemplateAreas
impl PartialOrd for GridTemplateAreas
Source§impl PrintAsCssValue for GridTemplateAreas
impl PrintAsCssValue for GridTemplateAreas
fn print_as_css_value(&self) -> String
impl Eq for GridTemplateAreas
impl StructuralPartialEq for GridTemplateAreas
Auto Trait Implementations§
impl Freeze for GridTemplateAreas
impl RefUnwindSafe for GridTemplateAreas
impl Send for GridTemplateAreas
impl Sync for GridTemplateAreas
impl Unpin for GridTemplateAreas
impl UnsafeUnpin for GridTemplateAreas
impl UnwindSafe for GridTemplateAreas
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