pub struct PropertyData {
pub name: &'static str,
pub syntax: Option<&'static str>,
pub initial: Option<&'static str>,
pub inherited: Option<bool>,
pub longhands: &'static [&'static str],
pub alias_of: Option<&'static str>,
pub href: &'static str,
}Expand description
One property, as its spec defines it.
Fields§
§name: &'static str§syntax: Option<&'static str>The value grammar, in the value definition syntax; None for the
few legacy aliases defined only by what they alias.
initial: Option<&'static str>The initial value as the spec writes it, which for a shorthand is prose (“see individual properties”).
inherited: Option<bool>None where the spec says something other than yes or no, as a
shorthand’s “see individual properties”.
longhands: &'static [&'static str]For a shorthand, the longhands it sets; empty for a longhand.
alias_of: Option<&'static str>For a legacy alias (-webkit-box-flex and the like), the property
it’s another name for.
href: &'static strWhere the spec defines it.
Implementations§
Source§impl PropertyData
impl PropertyData
Trait Implementations§
Source§impl Debug for PropertyData
impl Debug for PropertyData
impl Eq for PropertyData
Source§impl PartialEq for PropertyData
impl PartialEq for PropertyData
impl StructuralPartialEq for PropertyData
Auto Trait Implementations§
impl Forget for PropertyData
impl Freeze for PropertyData
impl Move for PropertyData
impl RefUnwindSafe for PropertyData
impl Send for PropertyData
impl Sync for PropertyData
impl Unpin for PropertyData
impl UnsafeUnpin for PropertyData
impl UnwindSafe for PropertyData
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