pub struct Border<'a> {
pub _tab: Table<'a>,
}Fields§
§_tab: Table<'a>Implementations§
Source§impl<'a> Border<'a>
impl<'a> Border<'a>
pub const VT_WIDTH: VOffsetT = 4
pub const VT_STYLE: VOffsetT = 6
pub const VT_COLOR: VOffsetT = 8
pub unsafe fn init_from_table(table: Table<'a>) -> Self
pub fn create<'bldr: 'args, 'args: 'mut_bldr, 'mut_bldr, A: Allocator + 'bldr>( _fbb: &'mut_bldr mut FlatBufferBuilder<'bldr, A>, args: &'args BorderArgs<'args>, ) -> WIPOffset<Border<'bldr>>
pub fn width(&self) -> Option<Length<'a>>
pub fn style(&self) -> BorderStyle
pub fn color(&self) -> Option<&'a Color>
Trait Implementations§
Source§impl Verifiable for Border<'_>
impl Verifiable for Border<'_>
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 Border<'a>
impl<'a> StructuralPartialEq for Border<'a>
Auto Trait Implementations§
impl<'a> Freeze for Border<'a>
impl<'a> RefUnwindSafe for Border<'a>
impl<'a> Send for Border<'a>
impl<'a> Sync for Border<'a>
impl<'a> Unpin for Border<'a>
impl<'a> UnsafeUnpin for Border<'a>
impl<'a> UnwindSafe for Border<'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