pub enum AxisLocation {
User(OrderedFloat<f64>),
Design(OrderedFloat<f64>),
Normalized(OrderedFloat<f64>),
}Expand description
A location on an axis, in one of three coordinate spaces, as specified in a fea file.
Variants§
User(OrderedFloat<f64>)
A position in the user coordinate space
Design(OrderedFloat<f64>)
A position in the design coordinate space
Normalized(OrderedFloat<f64>)
A normalized position
Trait Implementations§
Source§impl Clone for AxisLocation
impl Clone for AxisLocation
Source§fn clone(&self) -> AxisLocation
fn clone(&self) -> AxisLocation
Returns a duplicate of the value. Read more
1.0.0 · 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 AxisLocation
impl Debug for AxisLocation
Source§impl Hash for AxisLocation
impl Hash for AxisLocation
Source§impl PartialEq for AxisLocation
impl PartialEq for AxisLocation
impl Copy for AxisLocation
impl Eq for AxisLocation
impl StructuralPartialEq for AxisLocation
Auto Trait Implementations§
impl Freeze for AxisLocation
impl RefUnwindSafe for AxisLocation
impl Send for AxisLocation
impl Sync for AxisLocation
impl Unpin for AxisLocation
impl UnwindSafe for AxisLocation
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,
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.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.