#[repr(u8)]pub enum BNStringType {
AsciiString = 0,
Utf16String = 1,
Utf32String = 2,
Utf8String = 3,
}Variants§
Trait Implementations§
Source§impl Clone for BNStringType
impl Clone for BNStringType
Source§fn clone(&self) -> BNStringType
fn clone(&self) -> BNStringType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BNStringType
Source§impl Debug for BNStringType
impl Debug for BNStringType
impl Eq for BNStringType
Source§impl Hash for BNStringType
impl Hash for BNStringType
Source§impl PartialEq for BNStringType
impl PartialEq for BNStringType
Source§fn eq(&self, other: &BNStringType) -> bool
fn eq(&self, other: &BNStringType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BNStringType
Auto Trait Implementations§
impl Freeze for BNStringType
impl RefUnwindSafe for BNStringType
impl Send for BNStringType
impl Sync for BNStringType
impl Unpin for BNStringType
impl UnsafeUnpin for BNStringType
impl UnwindSafe for BNStringType
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