#[repr(transparent)]pub struct BorderStyle(pub i8);Tuple Fields§
§0: i8Implementations§
Source§impl BorderStyle
impl BorderStyle
pub const None: Self
pub const Solid: Self
pub const Dashed: Self
pub const Dotted: Self
pub const ENUM_MIN: i8 = 0
pub const ENUM_MAX: i8 = 3
pub const ENUM_VALUES: &'static [Self]
Sourcepub fn variant_name(self) -> Option<&'static str>
pub fn variant_name(self) -> Option<&'static str>
Returns the variant’s name or “” if unknown.
Trait Implementations§
Source§impl Clone for BorderStyle
impl Clone for BorderStyle
Source§fn clone(&self) -> BorderStyle
fn clone(&self) -> BorderStyle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BorderStyle
impl Debug for BorderStyle
Source§impl Default for BorderStyle
impl Default for BorderStyle
Source§fn default() -> BorderStyle
fn default() -> BorderStyle
Returns the “default value” for a type. Read more
Source§impl EndianScalar for BorderStyle
impl EndianScalar for BorderStyle
Source§impl<'a> Follow<'a> for BorderStyle
impl<'a> Follow<'a> for BorderStyle
Source§impl Hash for BorderStyle
impl Hash for BorderStyle
Source§impl Ord for BorderStyle
impl Ord for BorderStyle
Source§fn cmp(&self, other: &BorderStyle) -> Ordering
fn cmp(&self, other: &BorderStyle) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BorderStyle
impl PartialEq for BorderStyle
Source§impl PartialOrd for BorderStyle
impl PartialOrd for BorderStyle
Source§impl Push for BorderStyle
impl Push for BorderStyle
Source§impl<'a> Verifiable for BorderStyle
impl<'a> Verifiable for BorderStyle
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 Copy for BorderStyle
impl Eq for BorderStyle
impl SimpleToVerifyInSlice for BorderStyle
impl StructuralPartialEq for BorderStyle
Auto Trait Implementations§
impl Freeze for BorderStyle
impl RefUnwindSafe for BorderStyle
impl Send for BorderStyle
impl Sync for BorderStyle
impl Unpin for BorderStyle
impl UnsafeUnpin for BorderStyle
impl UnwindSafe for BorderStyle
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