#[repr(C)]pub struct GenericConstObj {
pub value: Any,
/* private fields */
}Expand description
Complete: reflected fields fill [40, 56) exactly.
Fields§
§value: AnyTrait Implementations§
Source§impl Deref for GenericConstObj
impl Deref for GenericConstObj
Source§type Target = ConstantObj
type Target = ConstantObj
The resulting type after dereferencing.
Source§fn deref(&self) -> &ConstantObj
fn deref(&self) -> &ConstantObj
Dereferences the value.
Source§impl<'a> From<&'a GenericConstObj> for AnyView<'a>
impl<'a> From<&'a GenericConstObj> for AnyView<'a>
Source§fn from(value: &'a GenericConstObj) -> Self
fn from(value: &'a GenericConstObj) -> Self
Converts to this type from the input type.
Source§impl ObjectCore for GenericConstObj
impl ObjectCore for GenericConstObj
Source§const TYPE_DEPTH: i32 = 3i32
const TYPE_DEPTH: i32 = 3i32
Depth of this type in the object inheritance tree. Read more
fn type_index() -> i32
Source§unsafe fn object_header_mut(this: &mut Self) -> &mut TVMFFIObject
unsafe fn object_header_mut(this: &mut Self) -> &mut TVMFFIObject
Return the object header
This function is implemented as a static function so Read more
Auto Trait Implementations§
impl !Freeze for GenericConstObj
impl RefUnwindSafe for GenericConstObj
impl !Send for GenericConstObj
impl !Sync for GenericConstObj
impl Unpin for GenericConstObj
impl UnwindSafe for GenericConstObj
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