#[non_exhaustive]pub enum RdSectionKind {
Section,
Subsection,
}Expand description
The kind of custom section-family node visited by RdDocument::section_tree.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for RdSectionKind
impl Clone for RdSectionKind
Source§fn clone(&self) -> RdSectionKind
fn clone(&self) -> RdSectionKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RdSectionKind
Source§impl Debug for RdSectionKind
impl Debug for RdSectionKind
impl Eq for RdSectionKind
Source§impl PartialEq for RdSectionKind
impl PartialEq for RdSectionKind
impl StructuralPartialEq for RdSectionKind
Auto Trait Implementations§
impl Freeze for RdSectionKind
impl RefUnwindSafe for RdSectionKind
impl Send for RdSectionKind
impl Sync for RdSectionKind
impl Unpin for RdSectionKind
impl UnsafeUnpin for RdSectionKind
impl UnwindSafe for RdSectionKind
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