pub struct Utf8 {
pub content: MString,
}
Fields§
§content: MString
Implementations§
source§impl Utf8
impl Utf8
pub fn by<I>(content: I) -> Utf8Inserter<I>where
I: Insertable<Utf8>,
Trait Implementations§
source§impl Insertable<Utf8> for Index<Utf8>
impl Insertable<Utf8> for Index<Utf8>
fn insert<Ctx: EncoderContext>( self, _: &mut Ctx, ) -> Result<Index<Utf8>, EncodeError>
source§impl Insertable<Utf8> for Utf8
impl Insertable<Utf8> for Utf8
fn insert<Ctx: EncoderContext>( self, context: &mut Ctx, ) -> Result<Index<Utf8>, EncodeError>
source§impl<I: Insertable<Utf8>> Insertable<Utf8> for Utf8Inserter<I>
impl<I: Insertable<Utf8>> Insertable<Utf8> for Utf8Inserter<I>
fn insert<Ctx: EncoderContext>( self, context: &mut Ctx, ) -> Result<Index<Utf8>, EncodeError>
source§impl PartialEq for Utf8
impl PartialEq for Utf8
impl Eq for Utf8
impl StructuralPartialEq for Utf8
Auto Trait Implementations§
impl Freeze for Utf8
impl RefUnwindSafe for Utf8
impl Send for Utf8
impl Sync for Utf8
impl Unpin for Utf8
impl UnwindSafe for Utf8
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.