pub struct StringImmObj {
pub value: String,
/* private fields */
}Expand description
The object behind StringImm.
Fields§
§value: StringTrait Implementations§
Source§impl Deref for StringImmObj
impl Deref for StringImmObj
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 StringImmObj> for AnyView<'a>
impl<'a> From<&'a StringImmObj> for AnyView<'a>
Source§fn from(value: &'a StringImmObj) -> Self
fn from(value: &'a StringImmObj) -> Self
Converts to this type from the input type.
Source§impl ObjectCore for StringImmObj
impl ObjectCore for StringImmObj
Source§const TYPE_DEPTH: i32
const TYPE_DEPTH: i32
Depth of this type in the object inheritance tree. Read more
Source§type Parent = ConstantObj
type Parent = ConstantObj
Source§fn type_index() -> i32
fn type_index() -> i32
The runtime type index of this type.
Source§unsafe fn object_header_mut(this: &mut Self) -> &mut TVMFFIObject
unsafe fn object_header_mut(this: &mut Self) -> &mut TVMFFIObject
The object header, mutably. Read more
impl ImmutableObject for StringImmObj
Auto Trait Implementations§
impl !Freeze for StringImmObj
impl RefUnwindSafe for StringImmObj
impl Send for StringImmObj
impl Sync for StringImmObj
impl Unpin for StringImmObj
impl UnsafeUnpin for StringImmObj
impl UnwindSafe for StringImmObj
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