Trait listpack::Str [−][src]
pub trait Str<RHS = Self>: Clone + Default + Debug { type Output: Str; fn encode(self) -> Self::Output; fn to_buf(&self) -> (*const u8, usize); fn from_buf(ptr: *const u8, len: usize) -> RHS; }
Associated Types
Required Methods
fn encode(self) -> Self::Output
fn to_buf(&self) -> (*const u8, usize)
fn from_buf(ptr: *const u8, len: usize) -> RHS
Implementations on Foreign Types
impl Str for f32
[src]
impl Str for f32
impl Str for f64
[src]
impl Str for f64
impl Str for isize
[src]
impl Str for isize
impl Str for usize
[src]
impl Str for usize
impl Str for i8
[src]
impl Str for i8
impl Str for u8
[src]
impl Str for u8
impl Str for i16
[src]
impl Str for i16
impl Str for u16
[src]
impl Str for u16
impl Str for i32
[src]
impl Str for i32
impl Str for u32
[src]
impl Str for u32
impl Str for i64
[src]
impl Str for i64
impl Str for u64
[src]
impl Str for u64
impl Str for i128
[src]
impl Str for i128
impl Str for u128
[src]
impl Str for u128
impl Str for Vec<u8>
[src]
impl Str for Vec<u8>
impl<'a> Str for &'a [u8]
[src]
impl<'a> Str for &'a [u8]
impl<'a> Str for &'a str
[src]
impl<'a> Str for &'a str