pub struct String {
pub string: Index<Utf8>,
}
Fields§
§string: Index<Utf8>
Implementations§
source§impl String
impl String
pub fn by<I>(content: I) -> StringInserter<I>where
I: Insertable<String>,
Trait Implementations§
source§impl Insertable<String> for Index<String>
impl Insertable<String> for Index<String>
fn insert<Ctx: EncoderContext>( self, _: &mut Ctx ) -> Result<Index<String>, EncodeError>
source§impl Insertable<String> for String
impl Insertable<String> for String
fn insert<Ctx: EncoderContext>( self, context: &mut Ctx ) -> Result<Index<String>, EncodeError>
source§impl<I: Insertable<String>> Insertable<String> for StringInserter<I>
impl<I: Insertable<String>> Insertable<String> for StringInserter<I>
fn insert<Ctx: EncoderContext>( self, context: &mut Ctx ) -> Result<Index<String>, EncodeError>
source§impl PartialEq for String
impl PartialEq for String
impl Eq for String
impl StructuralPartialEq for String
Auto Trait Implementations§
impl Freeze for String
impl RefUnwindSafe for String
impl Send for String
impl Sync for String
impl Unpin for String
impl UnwindSafe for String
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.