pub struct FrnString { /* private fields */ }Expand description
A Rust string exposed to native code as an IFrnString.
The UTF-8 bytes are owned by the object and NUL-terminated, so the pointer native code obtains stays valid until the last reference is released.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FrnString
impl RefUnwindSafe for FrnString
impl Send for FrnString
impl Sync for FrnString
impl Unpin for FrnString
impl UnsafeUnpin for FrnString
impl UnwindSafe for FrnString
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