#[repr(transparent)]pub struct RichTextBlockType(pub i8);Tuple Fields§
§0: i8Implementations§
Source§impl RichTextBlockType
impl RichTextBlockType
pub const Paragraph: Self
pub const Heading: Self
pub const UnorderedList: Self
pub const OrderedList: Self
pub const ListItem: Self
pub const Image: Self
pub const CodeBlock: Self
pub const Blockquote: Self
pub const Divider: Self
pub const Table: Self
pub const TableRow: Self
pub const TableCell: Self
pub const ENUM_MIN: i8 = 0
pub const ENUM_MAX: i8 = 11
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 RichTextBlockType
impl Clone for RichTextBlockType
Source§fn clone(&self) -> RichTextBlockType
fn clone(&self) -> RichTextBlockType
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 RichTextBlockType
impl Debug for RichTextBlockType
Source§impl Default for RichTextBlockType
impl Default for RichTextBlockType
Source§fn default() -> RichTextBlockType
fn default() -> RichTextBlockType
Returns the “default value” for a type. Read more
Source§impl EndianScalar for RichTextBlockType
impl EndianScalar for RichTextBlockType
Source§impl<'a> Follow<'a> for RichTextBlockType
impl<'a> Follow<'a> for RichTextBlockType
Source§impl Hash for RichTextBlockType
impl Hash for RichTextBlockType
Source§impl Ord for RichTextBlockType
impl Ord for RichTextBlockType
Source§fn cmp(&self, other: &RichTextBlockType) -> Ordering
fn cmp(&self, other: &RichTextBlockType) -> 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 RichTextBlockType
impl PartialEq for RichTextBlockType
Source§impl PartialOrd for RichTextBlockType
impl PartialOrd for RichTextBlockType
Source§impl Push for RichTextBlockType
impl Push for RichTextBlockType
Source§impl<'a> Verifiable for RichTextBlockType
impl<'a> Verifiable for RichTextBlockType
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 RichTextBlockType
impl Eq for RichTextBlockType
impl SimpleToVerifyInSlice for RichTextBlockType
impl StructuralPartialEq for RichTextBlockType
Auto Trait Implementations§
impl Freeze for RichTextBlockType
impl RefUnwindSafe for RichTextBlockType
impl Send for RichTextBlockType
impl Sync for RichTextBlockType
impl Unpin for RichTextBlockType
impl UnsafeUnpin for RichTextBlockType
impl UnwindSafe for RichTextBlockType
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