#[non_exhaustive]pub enum ReadAs {
Zero,
Missing,
Value(&'static str),
}Expand description
The reading that the layout takes for a value that does not read.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Zero
The value is 0, as Word for Windows reads a value of half points that does not read.
Missing
The value counts as missing, as if the element had no such attribute.
Value(&'static str)
The value reads as the value of its type with this name, as the schema spells it, when
unrecognized text uses a different fallback from a missing value, such as subSup for
the place of an n-ary operator’s limits (m:limLoc).
Trait Implementations§
impl Copy for ReadAs
impl Eq for ReadAs
impl StructuralPartialEq for ReadAs
Auto Trait Implementations§
impl Forget for ReadAs
impl Freeze for ReadAs
impl Move for ReadAs
impl RefUnwindSafe for ReadAs
impl Send for ReadAs
impl Sync for ReadAs
impl Unpin for ReadAs
impl UnsafeUnpin for ReadAswhere
&'static str: UnsafeUnpin,
impl UnwindSafe for ReadAswhere
&'static str: UnwindSafe,
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,
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.