Struct pen_ffi::ByteString
source · [−]#[repr(C)]pub struct ByteString { /* private fields */ }
Implementations
Trait Implementations
sourceimpl Clone for ByteString
impl Clone for ByteString
sourcefn clone(&self) -> ByteString
fn clone(&self) -> ByteString
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ByteString
impl Debug for ByteString
sourceimpl Default for ByteString
impl Default for ByteString
sourcefn default() -> ByteString
fn default() -> ByteString
Returns the “default value” for a type. Read more
sourceimpl From<&'_ str> for ByteString
impl From<&'_ str> for ByteString
sourceimpl From<ByteString> for Any
impl From<ByteString> for Any
sourcefn from(x: ByteString) -> Self
fn from(x: ByteString) -> Self
Converts to this type from the input type.
sourceimpl From<String> for ByteString
impl From<String> for ByteString
sourceimpl Hash for ByteString
impl Hash for ByteString
sourceimpl PartialEq<ByteString> for ByteString
impl PartialEq<ByteString> for ByteString
sourceimpl<'a> TryFrom<&'a Any> for &'a ByteString
impl<'a> TryFrom<&'a Any> for &'a ByteString
sourceimpl TryFrom<Any> for ByteString
impl TryFrom<Any> for ByteString
impl Eq for ByteString
Auto Trait Implementations
impl RefUnwindSafe for ByteString
impl Send for ByteString
impl Sync for ByteString
impl Unpin for ByteString
impl UnwindSafe for ByteString
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more