pub struct String { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Bytes<Origin, Origin> for String
impl Bytes<Origin, Origin> for String
const BYTES_SIZE: usize = 1_024usize
const BYTES_ALIGN: usize = 4usize
fn to_bytes(&self, endianness: bool) -> [u8; 1024]
fn from_bytes(bytes: [u8; 1024], endianness: bool) -> Self
fn to_le_bytes(&self) -> [u8; { _ }]
fn to_be_bytes(&self) -> [u8; { _ }]
fn from_le_bytes(bytes: [u8; { _ }]) -> Self
fn from_be_bytes(bytes: [u8; { _ }]) -> Self
Source§impl NonPrimitive<Origin> for String
impl NonPrimitive<Origin> for String
const IS_PRIMITIVE: bool = false
impl Copy for String
Auto Trait Implementations§
impl Freeze for String
impl RefUnwindSafe for String
impl Send for String
impl Sync for String
impl Unpin 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