pub struct UnknownStyleProp {
pub raw: String,
}Expand description
An unknown property child encountered inside a style block.
The name was not in the recognized set of visual style keys, so it cannot
be applied as a visual cascade. It is preserved here so that the
validator can emit style.unknown_property warnings.
Fields§
§raw: StringThe raw property value (first positional argument of the child node).
Trait Implementations§
Source§impl Clone for UnknownStyleProp
impl Clone for UnknownStyleProp
Source§fn clone(&self) -> UnknownStyleProp
fn clone(&self) -> UnknownStyleProp
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UnknownStyleProp
impl Debug for UnknownStyleProp
Source§impl PartialEq for UnknownStyleProp
impl PartialEq for UnknownStyleProp
Source§fn eq(&self, other: &UnknownStyleProp) -> bool
fn eq(&self, other: &UnknownStyleProp) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UnknownStyleProp
Auto Trait Implementations§
impl Freeze for UnknownStyleProp
impl RefUnwindSafe for UnknownStyleProp
impl Send for UnknownStyleProp
impl Sync for UnknownStyleProp
impl Unpin for UnknownStyleProp
impl UnsafeUnpin for UnknownStyleProp
impl UnwindSafe for UnknownStyleProp
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