pub struct Written {
pub property: String,
pub value: String,
pub important: bool,
pub longhands: Range<usize>,
pub position: SheetPosition,
}Expand description
One declaration as the author wrote it, and the longhands it became.
Fields§
§property: StringThe property name, in lowercase.
value: StringThe value, as written, without !important.
important: boolWhether it was written !important.
longhands: Range<usize>Which of the rule’s declarations it expanded to: several for a shorthand, one for a longhand.
position: SheetPositionWhere the declaration begins.
Trait Implementations§
impl StructuralPartialEq for Written
Auto Trait Implementations§
impl Freeze for Written
impl RefUnwindSafe for Written
impl Send for Written
impl Sync for Written
impl Unpin for Written
impl UnsafeUnpin for Written
impl UnwindSafe for Written
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.