#[repr(C)]pub struct KeywordValue(pub CssString);Expand description
A keyword value used by the Typed OM.
This corresponds to CSSKeywordValue in the Typed OM specification.
The keyword is stored as a CssString so it can be represented and
transferred independently of any specific property (e.g. "none",
"block", "thin").
Tuple Fields§
§0: CssStringTrait Implementations§
Source§impl Clone for KeywordValue
impl Clone for KeywordValue
Source§fn clone(&self) -> KeywordValue
fn clone(&self) -> KeywordValue
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 moreAuto Trait Implementations§
impl Freeze for KeywordValue
impl RefUnwindSafe for KeywordValue
impl Send for KeywordValue
impl Sync for KeywordValue
impl Unpin for KeywordValue
impl UnwindSafe for KeywordValue
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