#[repr(C)]pub struct StyleBaseVTable {
pub base: <FerroObject as ObjectType>::VTable,
pub set_parent: fn(&StyleBase, Option<&Ref<StyleBase>>),
pub to_display_string: fn(&StyleBase) -> String,
}Expand description
The virtual table of the class.
Fields§
§base: <FerroObject as ObjectType>::VTable§set_parent: fn(&StyleBase, Option<&Ref<StyleBase>>)§to_display_string: fn(&StyleBase) -> StringTrait Implementations§
Source§impl Clone for StyleBaseVTable
impl Clone for StyleBaseVTable
impl Copy for StyleBaseVTable
Auto Trait Implementations§
impl Freeze for StyleBaseVTable
impl RefUnwindSafe for StyleBaseVTable
impl Send for StyleBaseVTable
impl Sync for StyleBaseVTable
impl Unpin for StyleBaseVTable
impl UnsafeUnpin for StyleBaseVTable
impl UnwindSafe for StyleBaseVTable
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