Enum read_fonts::tables::glyf::Anchor
source · pub enum Anchor {
Offset {
x: i16,
y: i16,
},
Point {
base: u16,
component: u16,
},
}
Expand description
Anchor position for a composite component.
Variants§
Implementations§
source§impl Anchor
impl Anchor
sourcepub fn compute_flags(&self) -> CompositeGlyphFlags
pub fn compute_flags(&self) -> CompositeGlyphFlags
Compute the flags that describe this anchor
Trait Implementations§
impl Copy for Anchor
impl Eq for Anchor
impl StructuralPartialEq for Anchor
Auto Trait Implementations§
impl Freeze for Anchor
impl RefUnwindSafe for Anchor
impl Send for Anchor
impl Sync for Anchor
impl Unpin for Anchor
impl UnwindSafe for Anchor
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)