Struct flexbuffers::IndirectInt [−][src]
pub struct IndirectInt(pub i64);
Expand description
This struct, when pushed, will be serialized as a FlexBufferType::IndirectInt
.
It is a signed integer stored by reference in the flexbuffer. This can reduce the
size of vectors and maps containing the IndirectInt
.
Trait Implementations
impl Clone for IndirectInt
[src]
impl Clone for IndirectInt
[src]fn clone(&self) -> IndirectInt
[src]
fn clone(&self) -> IndirectInt
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for IndirectInt
[src]
impl Debug for IndirectInt
[src]impl PartialEq<IndirectInt> for IndirectInt
[src]
impl PartialEq<IndirectInt> for IndirectInt
[src]fn eq(&self, other: &IndirectInt) -> bool
[src]
fn eq(&self, other: &IndirectInt) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &IndirectInt) -> bool
[src]
fn ne(&self, other: &IndirectInt) -> bool
[src]This method tests for !=
.
impl Pushable for IndirectInt
[src]
impl Pushable for IndirectInt
[src]fn push_to_builder(self, builder: &mut Builder)
[src]
impl Copy for IndirectInt
[src]
impl Eq for IndirectInt
[src]
impl StructuralEq for IndirectInt
[src]
impl StructuralPartialEq for IndirectInt
[src]
Auto Trait Implementations
impl RefUnwindSafe for IndirectInt
impl Send for IndirectInt
impl Sync for IndirectInt
impl Unpin for IndirectInt
impl UnwindSafe for IndirectInt
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more