pub enum Encoder {
Turbo,
Fast,
Contextual,
}
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
Converts the value of self
to an i64
.
Converts the value of self
to an u64
.
Converts the value of self
to an isize
.
Converts the value of self
to an i8
.
Converts the value of self
to an i16
.
Converts the value of self
to an i32
.
Converts the value of self
to an i128
. Read more
Converts the value of self
to a usize
.
Converts the value of self
to an u8
.
Converts the value of self
to an u16
.
Converts the value of self
to an u32
.
Converts the value of self
to an u128
. Read more
Converts the value of self
to an f32
.
Converts the value of self
to an f64
.
Convert an i64
to return an optional value of this type. If the type cannot be represented by this value, then None
is returned. Read more
Convert an u64
to return an optional value of this type. If the type cannot be represented by this value, then None
is returned. Read more
Convert an isize
to return an optional value of this type. If the value cannot be represented by this value, then None
is returned. Read more
Convert an i8
to return an optional value of this type. If the type cannot be represented by this value, then None
is returned. Read more
Convert an i16
to return an optional value of this type. If the type cannot be represented by this value, then None
is returned. Read more
Convert an i32
to return an optional value of this type. If the type cannot be represented by this value, then None
is returned. Read more
Convert an i128
to return an optional value of this type. If the type cannot be represented by this value, then None
is returned. Read more
Convert a usize
to return an optional value of this type. If the type cannot be represented by this value, then None
is returned. Read more
Convert an u8
to return an optional value of this type. If the type cannot be represented by this value, then None
is returned. Read more
Convert an u16
to return an optional value of this type. If the type cannot be represented by this value, then None
is returned. Read more
Convert an u32
to return an optional value of this type. If the type cannot be represented by this value, then None
is returned. Read more
Convert an u128
to return an optional value of this type. If the type cannot be represented by this value, then None
is returned. Read more
Convert a f32
to return an optional value of this type. If the type cannot be represented by this value, then None
is returned. Read more
Convert a f64
to return an optional value of this type. If the type cannot be represented by this value, then None
is returned. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)