pub struct CSSProperty {
pub name: String,
pub value: String,
pub important: Option<bool>,
pub implicit: Option<bool>,
pub text: Option<String>,
pub parsed_ok: Option<bool>,
pub disabled: Option<bool>,
pub range: Option<SourceRange>,
pub longhand_properties: Option<Vec<CSSProperty>>,
}
Fields§
§name: String
§value: String
§important: Option<bool>
§implicit: Option<bool>
§text: Option<String>
§parsed_ok: Option<bool>
§disabled: Option<bool>
§range: Option<SourceRange>
§longhand_properties: Option<Vec<CSSProperty>>
Trait Implementations§
Source§impl Clone for CSSProperty
impl Clone for CSSProperty
Source§fn clone(&self) -> CSSProperty
fn clone(&self) -> CSSProperty
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 CSSProperty
impl Debug for CSSProperty
Source§impl<'de> Deserialize<'de> for CSSProperty
impl<'de> Deserialize<'de> for CSSProperty
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CSSProperty
impl PartialEq for CSSProperty
Source§impl Serialize for CSSProperty
impl Serialize for CSSProperty
impl StructuralPartialEq for CSSProperty
Auto Trait Implementations§
impl Freeze for CSSProperty
impl RefUnwindSafe for CSSProperty
impl Send for CSSProperty
impl Sync for CSSProperty
impl Unpin for CSSProperty
impl UnwindSafe for CSSProperty
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more