pub struct ContainerNameStyleValue<'a>(pub NoneOr<Vec<'a, CustomIdent>>);Expand description
Represents the style value for container-name as defined in css-conditional-5.
Container size queries with the @container at-rule apply styles to an element based on the dimensions of its container.
The grammar is defined as:
none | <custom-ident>+Tuple Fields§
§0: NoneOr<Vec<'a, CustomIdent>>Trait Implementations§
Source§impl<'a> Clone for ContainerNameStyleValue<'a>
impl<'a> Clone for ContainerNameStyleValue<'a>
Source§fn clone(&self) -> ContainerNameStyleValue<'a>
fn clone(&self) -> ContainerNameStyleValue<'a>
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<'a> Debug for ContainerNameStyleValue<'a>
impl<'a> Debug for ContainerNameStyleValue<'a>
Source§impl<'a> Hash for ContainerNameStyleValue<'a>
impl<'a> Hash for ContainerNameStyleValue<'a>
Source§impl<'a> Ord for ContainerNameStyleValue<'a>
impl<'a> Ord for ContainerNameStyleValue<'a>
Source§fn cmp(&self, other: &ContainerNameStyleValue<'a>) -> Ordering
fn cmp(&self, other: &ContainerNameStyleValue<'a>) -> 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<'a> Parse<'a> for ContainerNameStyleValue<'a>
impl<'a> Parse<'a> for ContainerNameStyleValue<'a>
Source§impl<'a> PartialEq for ContainerNameStyleValue<'a>
impl<'a> PartialEq for ContainerNameStyleValue<'a>
Source§impl<'a> PartialOrd for ContainerNameStyleValue<'a>
impl<'a> PartialOrd for ContainerNameStyleValue<'a>
Source§impl<'a> Peek<'a> for ContainerNameStyleValue<'a>
impl<'a> Peek<'a> for ContainerNameStyleValue<'a>
Source§impl<'a> ToCursors for ContainerNameStyleValue<'a>
impl<'a> ToCursors for ContainerNameStyleValue<'a>
fn to_cursors(&self, s: &mut impl CursorSink)
impl<'a> Eq for ContainerNameStyleValue<'a>
impl<'a> StructuralPartialEq for ContainerNameStyleValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for ContainerNameStyleValue<'a>
impl<'a> !RefUnwindSafe for ContainerNameStyleValue<'a>
impl<'a> !Send for ContainerNameStyleValue<'a>
impl<'a> !Sync for ContainerNameStyleValue<'a>
impl<'a> Unpin for ContainerNameStyleValue<'a>
impl<'a> !UnwindSafe for ContainerNameStyleValue<'a>
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