pub struct Simple(pub u8);
Expand description
A “simple value” data item.
Tuple Fields§
§0: u8
Implementations§
Source§impl Simple
impl Simple
Sourcepub const FALSE: Simple
pub const FALSE: Simple
The simple value “False”, equivalent to false
.
Defined in RFC 7049 § 2.3: Table 2.
Sourcepub const TRUE: Simple
pub const TRUE: Simple
The simple value “True”, equivalent to true
.
Defined in RFC 7049 § 2.3: Table 2.
Sourcepub const NULL: Simple
pub const NULL: Simple
The simple value “Null”, equivalent to a generic None
.
Defined in RFC 7049 § 2.3: Table 2.
Sourcepub const UNDEFINED: Simple
pub const UNDEFINED: Simple
The simple value “Undefined value”, not really equivalent to any Rust
Defined in RFC 7049 § 2.3: Table 2.
concept.
Trait Implementations§
impl Copy for Simple
impl Eq for Simple
impl StructuralPartialEq for Simple
Auto Trait Implementations§
impl Freeze for Simple
impl RefUnwindSafe for Simple
impl Send for Simple
impl Sync for Simple
impl Unpin for Simple
impl UnwindSafe for Simple
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