pub struct StringSlice { /* private fields */ }Expand description
See ArgData for details.
Implementations§
Trait Implementations§
Source§impl Clone for StringSlice
impl Clone for StringSlice
Source§fn clone(&self) -> StringSlice
fn clone(&self) -> StringSlice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StringSlice
impl Debug for StringSlice
Source§impl<'a, 'b> From<StringSlice> for ArgData<'a, 'b>
impl<'a, 'b> From<StringSlice> for ArgData<'a, 'b>
Source§fn from(v: StringSlice) -> ArgData<'a, 'b>
fn from(v: StringSlice) -> ArgData<'a, 'b>
Converts to this type from the input type.
Source§impl<'a, 'b> TryInto<StringSlice> for ArgData<'a, 'b>
impl<'a, 'b> TryInto<StringSlice> for ArgData<'a, 'b>
impl Send for StringSlice
impl Sync for StringSlice
Auto Trait Implementations§
impl Freeze for StringSlice
impl RefUnwindSafe for StringSlice
impl Unpin for StringSlice
impl UnsafeUnpin for StringSlice
impl UnwindSafe for StringSlice
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more