pub struct LayerTreeSchema {
pub schema_version: u32,
pub schema_minor_version: u32,
pub resource_table_version: u32,
pub resource_table_minor_version: u32,
pub unit: &'static str,
pub coordinate_system: &'static str,
}Expand description
Versioned root metadata for PageLayerTree JSON exports.
Fields§
§schema_version: u32Major schema version. This remains an integer for v1 compatibility.
schema_minor_version: u32Additive schema revision within the current major version.
resource_table_version: u32Major resource table version. This remains an integer for v1 compatibility.
resource_table_minor_version: u32Additive resource-table revision within the current major version.
unit: &'static str§coordinate_system: &'static strTrait Implementations§
Source§impl Clone for LayerTreeSchema
impl Clone for LayerTreeSchema
impl Copy for LayerTreeSchema
Source§impl Debug for LayerTreeSchema
impl Debug for LayerTreeSchema
impl Eq for LayerTreeSchema
Source§impl PartialEq for LayerTreeSchema
impl PartialEq for LayerTreeSchema
impl StructuralPartialEq for LayerTreeSchema
Auto Trait Implementations§
impl Forget for LayerTreeSchema
impl Freeze for LayerTreeSchema
impl Move for LayerTreeSchema
impl RefUnwindSafe for LayerTreeSchema
impl Send for LayerTreeSchema
impl Sync for LayerTreeSchema
impl Unpin for LayerTreeSchema
impl UnsafeUnpin for LayerTreeSchema
impl UnwindSafe for LayerTreeSchema
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§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.