pub struct FloatingPoint<'a> {
pub _tab: Table<'a>,
}
Fields
_tab: Table<'a>
Implementations
sourceimpl<'a> FloatingPoint<'a>
impl<'a> FloatingPoint<'a>
pub fn init_from_table(table: Table<'a>) -> Self
pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr>(
_fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>,
args: &'args FloatingPointArgs
) -> WIPOffset<FloatingPoint<'bldr>>
pub const VT_PRECISION: VOffsetT = 4u16
pub fn precision(&self) -> Precision
Trait Implementations
sourceimpl<'a> Clone for FloatingPoint<'a>
impl<'a> Clone for FloatingPoint<'a>
sourcefn clone(&self) -> FloatingPoint<'a>
fn clone(&self) -> FloatingPoint<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FloatingPoint<'_>
impl Debug for FloatingPoint<'_>
sourceimpl<'a> Follow<'a> for FloatingPoint<'a>
impl<'a> Follow<'a> for FloatingPoint<'a>
sourceimpl<'a> PartialEq<FloatingPoint<'a>> for FloatingPoint<'a>
impl<'a> PartialEq<FloatingPoint<'a>> for FloatingPoint<'a>
sourcefn eq(&self, other: &FloatingPoint<'a>) -> bool
fn eq(&self, other: &FloatingPoint<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &FloatingPoint<'a>) -> bool
fn ne(&self, other: &FloatingPoint<'a>) -> bool
This method tests for !=
.
sourceimpl Verifiable for FloatingPoint<'_>
impl Verifiable for FloatingPoint<'_>
sourcefn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize
) -> Result<(), InvalidFlatbuffer>
fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize
) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position pos
in the verifier’s buffer.
Should not need to be called directly. Read more
impl<'a> Copy for FloatingPoint<'a>
impl<'a> StructuralPartialEq for FloatingPoint<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for FloatingPoint<'a>
impl<'a> Send for FloatingPoint<'a>
impl<'a> Sync for FloatingPoint<'a>
impl<'a> Unpin for FloatingPoint<'a>
impl<'a> UnwindSafe for FloatingPoint<'a>
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more