pub struct InspectedDeclaration {
pub property: String,
pub value: String,
pub important: bool,
pub applied: bool,
}Expand description
One declaration of a matched rule.
Fields§
§property: StringThe property, in lowercase.
value: StringThe value as it was written.
important: boolWhether it was written !important.
applied: boolWhether it won the cascade. A shorthand won where any longhand it sets did.
Trait Implementations§
Source§impl Clone for InspectedDeclaration
impl Clone for InspectedDeclaration
Source§fn clone(&self) -> InspectedDeclaration
fn clone(&self) -> InspectedDeclaration
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 InspectedDeclaration
impl Debug for InspectedDeclaration
Source§impl PartialEq for InspectedDeclaration
impl PartialEq for InspectedDeclaration
Source§impl Serialize for InspectedDeclaration
impl Serialize for InspectedDeclaration
impl StructuralPartialEq for InspectedDeclaration
Auto Trait Implementations§
impl Freeze for InspectedDeclaration
impl RefUnwindSafe for InspectedDeclaration
impl Send for InspectedDeclaration
impl Sync for InspectedDeclaration
impl Unpin for InspectedDeclaration
impl UnsafeUnpin for InspectedDeclaration
impl UnwindSafe for InspectedDeclaration
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.