pub struct StringInit<'a> { /* private fields */ }
Implementations§
source§impl<'a> StringInit<'a>
impl<'a> StringInit<'a>
sourcepub unsafe fn from_raw(raw: TableGenTypedInitRef) -> Self
pub unsafe fn from_raw(raw: TableGenTypedInitRef) -> Self
Trait Implementations§
source§impl<'a> Clone for StringInit<'a>
impl<'a> Clone for StringInit<'a>
source§fn clone(&self) -> StringInit<'a>
fn clone(&self) -> StringInit<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for StringInit<'a>
impl<'a> Debug for StringInit<'a>
source§impl<'a> Display for StringInit<'a>
impl<'a> Display for StringInit<'a>
source§impl<'a> PartialEq for StringInit<'a>
impl<'a> PartialEq for StringInit<'a>
source§impl<'a> TryFrom<StringInit<'a>> for &'a str
impl<'a> TryFrom<StringInit<'a>> for &'a str
source§impl<'a> TryFrom<StringInit<'a>> for String
impl<'a> TryFrom<StringInit<'a>> for String
source§type Error = FromUtf8Error
type Error = FromUtf8Error
The type returned in the event of a conversion error.
impl<'a> Copy for StringInit<'a>
impl<'a> Eq for StringInit<'a>
impl<'a> StructuralPartialEq for StringInit<'a>
Auto Trait Implementations§
impl<'a> Freeze for StringInit<'a>
impl<'a> RefUnwindSafe for StringInit<'a>
impl<'a> !Send for StringInit<'a>
impl<'a> !Sync for StringInit<'a>
impl<'a> Unpin for StringInit<'a>
impl<'a> UnwindSafe for StringInit<'a>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)