Struct rust_strings::BytesConfig
source · [−]Fields
bytes: Vec<u8>
min_length: usize
encodings: Vec<Encoding>
Implementations
sourceimpl BytesConfig
impl BytesConfig
pub fn new(bytes: Vec<u8>) -> Self
pub fn with_min_length(self, min_length: usize) -> Self
pub fn with_encoding(self, encoding: Encoding) -> Self
pub fn with_encodings(self, encodings: Vec<Encoding>) -> Self
Trait Implementations
impl Config for BytesConfig
Auto Trait Implementations
impl RefUnwindSafe for BytesConfig
impl Send for BytesConfig
impl Sync for BytesConfig
impl Unpin for BytesConfig
impl UnwindSafe for BytesConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more