pub struct VMStr(/* private fields */);Implementations§
Source§impl VMStr
impl VMStr
pub async fn from_str(value: String, thread: VThread) -> VMStr
pub fn str_eq(a: &VMStr, b: &VMStr) -> bool
pub fn parse(&self) -> Option<f64>
pub fn from(value: u64, thread: VThread) -> VMStr
pub fn as_vm_value(&self) -> u64
pub fn ptr(&self) -> *const u8
pub fn as_str(&self) -> &str
pub fn len(&self) -> u64
pub async fn drop(&self)
pub async fn push(&mut self, other: &VMStr)
pub async fn cloned_push(&mut self, other: &VMStr) -> VMStr
Auto Trait Implementations§
impl Freeze for VMStr
impl !RefUnwindSafe for VMStr
impl !Send for VMStr
impl !Sync for VMStr
impl Unpin for VMStr
impl !UnwindSafe for VMStr
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