#[repr(C)]pub struct GridAreaDefinition {
pub name: AzString,
pub row_start: u16,
pub row_end: u16,
pub column_start: u16,
pub column_end: u16,
}Expand description
A single named grid area with its row/column bounds (1-based grid line numbers).
This matches taffy’s GridTemplateArea<String>.
Fields§
§name: AzString§row_start: u16§row_end: u16§column_start: u16§column_end: u16Trait Implementations§
Source§impl Clone for GridAreaDefinition
impl Clone for GridAreaDefinition
Source§fn clone(&self) -> GridAreaDefinition
fn clone(&self) -> GridAreaDefinition
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 GridAreaDefinition
impl Debug for GridAreaDefinition
Source§impl Extend<GridAreaDefinition> for GridAreaDefinitionVec
impl Extend<GridAreaDefinition> for GridAreaDefinitionVec
Source§fn extend<T: IntoIterator<Item = GridAreaDefinition>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = GridAreaDefinition>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl FromIterator<GridAreaDefinition> for GridAreaDefinitionVec
impl FromIterator<GridAreaDefinition> for GridAreaDefinitionVec
Source§fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = GridAreaDefinition>,
fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = GridAreaDefinition>,
Creates a value from an iterator. Read more
Source§impl Hash for GridAreaDefinition
impl Hash for GridAreaDefinition
Source§impl Ord for GridAreaDefinition
impl Ord for GridAreaDefinition
Source§fn cmp(&self, other: &GridAreaDefinition) -> Ordering
fn cmp(&self, other: &GridAreaDefinition) -> 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 GridAreaDefinition
impl PartialEq for GridAreaDefinition
Source§impl PartialOrd for GridAreaDefinition
impl PartialOrd for GridAreaDefinition
impl Eq for GridAreaDefinition
impl StructuralPartialEq for GridAreaDefinition
Auto Trait Implementations§
impl Freeze for GridAreaDefinition
impl RefUnwindSafe for GridAreaDefinition
impl Send for GridAreaDefinition
impl Sync for GridAreaDefinition
impl Unpin for GridAreaDefinition
impl UnsafeUnpin for GridAreaDefinition
impl UnwindSafe for GridAreaDefinition
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