#[repr(i32)]pub enum AsdfEventType {
None = 0,
Begin = 1,
AsdfVersion = 2,
StandardVersion = 3,
Comment = 4,
TreeStart = 5,
Yaml = 6,
TreeEnd = 7,
Block = 8,
Padding = 9,
BlockIndex = 10,
End = 11,
}Expand description
The low-level parser’s event types, mirroring asdf_event_type_t.
The order is the one ASDF_EVENT_TYPES gives, and the discriminants are
therefore part of the ABI.
Variants§
None = 0
Begin = 1
AsdfVersion = 2
StandardVersion = 3
Comment = 4
TreeStart = 5
Yaml = 6
TreeEnd = 7
Block = 8
Padding = 9
BlockIndex = 10
End = 11
Implementations§
Source§impl AsdfEventType
impl AsdfEventType
Trait Implementations§
Source§impl Clone for AsdfEventType
impl Clone for AsdfEventType
Source§fn clone(&self) -> AsdfEventType
fn clone(&self) -> AsdfEventType
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 AsdfEventType
Source§impl Debug for AsdfEventType
impl Debug for AsdfEventType
impl Eq for AsdfEventType
Source§impl PartialEq for AsdfEventType
impl PartialEq for AsdfEventType
impl StructuralPartialEq for AsdfEventType
Auto Trait Implementations§
impl Freeze for AsdfEventType
impl RefUnwindSafe for AsdfEventType
impl Send for AsdfEventType
impl Sync for AsdfEventType
impl Unpin for AsdfEventType
impl UnsafeUnpin for AsdfEventType
impl UnwindSafe for AsdfEventType
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