Struct protocol::String
[−]
[src]
pub struct String<S: Integer = u32> { pub value: String, // some fields omitted }
A string with a custom size prefix integer type.
S - The size prefix type.
Fields
value: String
Methods
impl<S: Integer> String<S>[src]
Trait Implementations
impl<S: Clone + Integer> Clone for String<S>[src]
fn clone(&self) -> String<S>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<S: Debug + Integer> Debug for String<S>[src]
impl<S: PartialEq + Integer> PartialEq for String<S>[src]
fn eq(&self, __arg_0: &String<S>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &String<S>) -> bool[src]
This method tests for !=.