pub struct WrittenSheet {
pub origin: Origin,
pub rules: Vec<WrittenRule>,
pub pages: Vec<WrittenPage>,
pub faces: Vec<FontFace>,
}Expand description
One sheet as it was written. See Stylesheets::written.
Fields§
§origin: OriginWhich origin the sheet cascades at.
rules: Vec<WrittenRule>The style rules, in the order they were written.
pages: Vec<WrittenPage>The @page rules, in the order they were written.
faces: Vec<FontFace>The @font-face rules, in the order they were written.
Trait Implementations§
Source§impl Clone for WrittenSheet
impl Clone for WrittenSheet
Source§fn clone(&self) -> WrittenSheet
fn clone(&self) -> WrittenSheet
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 WrittenSheet
impl Debug for WrittenSheet
Source§impl PartialEq for WrittenSheet
impl PartialEq for WrittenSheet
impl StructuralPartialEq for WrittenSheet
Auto Trait Implementations§
impl Freeze for WrittenSheet
impl RefUnwindSafe for WrittenSheet
impl Send for WrittenSheet
impl Sync for WrittenSheet
impl Unpin for WrittenSheet
impl UnsafeUnpin for WrittenSheet
impl UnwindSafe for WrittenSheet
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.