pub struct RuntimeEventGlyphs {
pub font_stack: Vec<String>,
pub first: u32,
pub last: u32,
pub font_face: bool,
}Expand description
The details of a glyph event.
The event covers the glyphs from first to last, both included.
See mln_runtime_event_glyphs in the
C API reference.
Fields§
§font_stack: Vec<String>The fonts that the glyphs come from, in order of preference.
first: u32§last: u32§font_face: boolTrait Implementations§
Source§impl Clone for RuntimeEventGlyphs
impl Clone for RuntimeEventGlyphs
Source§fn clone(&self) -> RuntimeEventGlyphs
fn clone(&self) -> RuntimeEventGlyphs
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 RuntimeEventGlyphs
impl Debug for RuntimeEventGlyphs
Source§impl Default for RuntimeEventGlyphs
impl Default for RuntimeEventGlyphs
Source§fn default() -> RuntimeEventGlyphs
fn default() -> RuntimeEventGlyphs
Returns the “default value” for a type. Read more
Source§impl PartialEq for RuntimeEventGlyphs
impl PartialEq for RuntimeEventGlyphs
impl StructuralPartialEq for RuntimeEventGlyphs
Auto Trait Implementations§
impl Freeze for RuntimeEventGlyphs
impl RefUnwindSafe for RuntimeEventGlyphs
impl Send for RuntimeEventGlyphs
impl Sync for RuntimeEventGlyphs
impl Unpin for RuntimeEventGlyphs
impl UnsafeUnpin for RuntimeEventGlyphs
impl UnwindSafe for RuntimeEventGlyphs
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,
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 more