#[repr(C)]pub struct InlineVTable {
pub base: <TextElement as ObjectType>::VTable,
pub build_text_run: fn(&Inline, &mut Vec<Rc<dyn TextRun>>),
pub measure_embedded_controls: fn(&Inline, Size) -> bool,
pub append_text: fn(&Inline, &mut String),
}Expand description
The virtual table of the class.
Fields§
§base: <TextElement as ObjectType>::VTable§build_text_run: fn(&Inline, &mut Vec<Rc<dyn TextRun>>)§measure_embedded_controls: fn(&Inline, Size) -> bool§append_text: fn(&Inline, &mut String)Trait Implementations§
Source§impl Clone for InlineVTable
impl Clone for InlineVTable
impl Copy for InlineVTable
Auto Trait Implementations§
impl Freeze for InlineVTable
impl RefUnwindSafe for InlineVTable
impl Send for InlineVTable
impl Sync for InlineVTable
impl Unpin for InlineVTable
impl UnsafeUnpin for InlineVTable
impl UnwindSafe for InlineVTable
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more