pub struct Binary<'a> {
pub _tab: Table<'a>,
}
Expand description
Opaque binary data
Fields§
§_tab: Table<'a>
Implementations§
source§impl<'a> Binary<'a>
impl<'a> Binary<'a>
pub unsafe fn init_from_table(table: Table<'a>) -> Binary<'a>
pub fn create<'bldr, 'args, 'mut_bldr>(
_fbb: &'mut_bldr mut FlatBufferBuilder<'bldr>,
_args: &'args BinaryArgs
) -> WIPOffset<Binary<'bldr>>where
'bldr: 'args,
'args: 'mut_bldr,
Trait Implementations§
source§impl<'a> PartialEq for Binary<'a>
impl<'a> PartialEq for Binary<'a>
source§impl Verifiable for Binary<'_>
impl Verifiable for Binary<'_>
source§fn 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.impl<'a> Copy for Binary<'a>
impl<'a> StructuralPartialEq for Binary<'a>
Auto Trait Implementations§
impl<'a> Freeze for Binary<'a>
impl<'a> RefUnwindSafe for Binary<'a>
impl<'a> Send for Binary<'a>
impl<'a> Sync for Binary<'a>
impl<'a> Unpin for Binary<'a>
impl<'a> UnwindSafe for Binary<'a>
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more