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