Struct lib::SsoStr

source ·
pub struct SsoStr(/* private fields */);
Expand description

A wrapper around str, so that we can implement ToOwned where ToOwned::Owned is sso::String

Trait Implementations§

source§

impl Borrow<SsoStr> for SsoString

source§

fn borrow(&self) -> &Str

Immutably borrows from an owned value. Read more

Auto Trait Implementations§

§

impl RefUnwindSafe for SsoStr

§

impl Send for SsoStr

§

impl !Sized for SsoStr

§

impl Sync for SsoStr

§

impl Unpin for SsoStr

§

impl UnwindSafe for SsoStr

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more