pub enum MarkupTypeKind {
Class,
Struct,
Enum,
Interface,
Static,
}Expand description
What kind of type a MarkupType describes.
Variants§
Class
A reference type: a class of the object model or a plain shared type.
Struct
A value type.
Enum
An enumeration; MarkupType::enum_members lists its members.
Interface
A contract (a trait used through a handle).
Static
A type that cannot be instantiated and only owns static members.
Trait Implementations§
Source§impl Clone for MarkupTypeKind
impl Clone for MarkupTypeKind
impl Copy for MarkupTypeKind
Source§impl Debug for MarkupTypeKind
impl Debug for MarkupTypeKind
impl Eq for MarkupTypeKind
Source§impl PartialEq for MarkupTypeKind
impl PartialEq for MarkupTypeKind
impl StructuralPartialEq for MarkupTypeKind
Auto Trait Implementations§
impl Freeze for MarkupTypeKind
impl RefUnwindSafe for MarkupTypeKind
impl Send for MarkupTypeKind
impl Sync for MarkupTypeKind
impl Unpin for MarkupTypeKind
impl UnsafeUnpin for MarkupTypeKind
impl UnwindSafe for MarkupTypeKind
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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