pub struct TextRecord {
pub font_id: Option<CharacterId>,
pub color: Option<Color>,
pub x_offset: Option<Twips>,
pub y_offset: Option<Twips>,
pub height: Option<Twips>,
pub glyphs: Vec<GlyphEntry>,
}Fields§
§font_id: Option<CharacterId>§color: Option<Color>§x_offset: Option<Twips>§y_offset: Option<Twips>§height: Option<Twips>§glyphs: Vec<GlyphEntry>Trait Implementations§
Source§impl Clone for TextRecord
impl Clone for TextRecord
Source§fn clone(&self) -> TextRecord
fn clone(&self) -> TextRecord
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 TextRecord
impl Debug for TextRecord
Source§impl PartialEq for TextRecord
impl PartialEq for TextRecord
impl Eq for TextRecord
impl StructuralPartialEq for TextRecord
Auto Trait Implementations§
impl Freeze for TextRecord
impl RefUnwindSafe for TextRecord
impl Send for TextRecord
impl Sync for TextRecord
impl Unpin for TextRecord
impl UnwindSafe for TextRecord
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