pub struct Int<'a> {
pub _tab: Table<'a>,
}
Fields§
§_tab: Table<'a>
Implementations§
Source§impl<'a> Int<'a>
impl<'a> Int<'a>
pub const VT_BITWIDTH: VOffsetT = 4u16
pub const VT_IS_SIGNED: VOffsetT = 6u16
pub unsafe 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 IntArgs, ) -> WIPOffset<Int<'bldr>>
pub fn bitWidth(&self) -> i32
pub fn is_signed(&self) -> bool
Trait Implementations§
Source§impl Verifiable for Int<'_>
impl Verifiable for Int<'_>
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 Int<'a>
impl<'a> StructuralPartialEq for Int<'a>
Auto Trait Implementations§
impl<'a> Freeze for Int<'a>
impl<'a> RefUnwindSafe for Int<'a>
impl<'a> Send for Int<'a>
impl<'a> Sync for Int<'a>
impl<'a> Unpin for Int<'a>
impl<'a> UnwindSafe for Int<'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