pub struct String;Expand description
string: String.
Trait Implementations§
Source§impl IdlType for String
impl IdlType for String
Source§const MIN_SIZE: usize = 4
const MIN_SIZE: usize = 4
The smallest size of a value on the wire, to check the lengths of
sequences before reading them.
Source§type Borrowed = str
type Borrowed = str
What is written:
str for strings, a slice for sequences, else
Rust itself.Auto Trait Implementations§
impl Forget for String
impl Freeze for String
impl RefUnwindSafe for String
impl Send for String
impl Sync for String
impl Unpin for String
impl UnsafeUnpin for String
impl UnwindSafe for String
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