yaml_parser_s

Struct yaml_parser_s 

Source
#[repr(C)]
pub struct yaml_parser_s {
Show 33 fields pub error: yaml_error_type_t, pub problem: *const c_char, pub problem_offset: usize, pub problem_value: c_int, pub problem_mark: yaml_mark_t, pub context: *const c_char, pub context_mark: yaml_mark_t, pub read_handler: yaml_read_handler_t, pub read_handler_data: *mut c_void, pub input: yaml_parser_s__bindgen_ty_1, pub eof: c_int, pub buffer: yaml_parser_s__bindgen_ty_2, pub unread: usize, pub raw_buffer: yaml_parser_s__bindgen_ty_3, pub encoding: yaml_encoding_t, pub offset: usize, pub mark: yaml_mark_t, pub stream_start_produced: c_int, pub stream_end_produced: c_int, pub flow_level: c_int, pub tokens: yaml_parser_s__bindgen_ty_4, pub tokens_parsed: usize, pub token_available: c_int, pub indents: yaml_parser_s__bindgen_ty_5, pub indent: c_int, pub simple_key_allowed: c_int, pub simple_keys: yaml_parser_s__bindgen_ty_6, pub states: yaml_parser_s__bindgen_ty_7, pub state: yaml_parser_state_t, pub marks: yaml_parser_s__bindgen_ty_8, pub tag_directives: yaml_parser_s__bindgen_ty_9, pub aliases: yaml_parser_s__bindgen_ty_10, pub document: *mut yaml_document_t,
}

Fields§

§error: yaml_error_type_t§problem: *const c_char§problem_offset: usize§problem_value: c_int§problem_mark: yaml_mark_t§context: *const c_char§context_mark: yaml_mark_t§read_handler: yaml_read_handler_t§read_handler_data: *mut c_void§input: yaml_parser_s__bindgen_ty_1§eof: c_int§buffer: yaml_parser_s__bindgen_ty_2§unread: usize§raw_buffer: yaml_parser_s__bindgen_ty_3§encoding: yaml_encoding_t§offset: usize§mark: yaml_mark_t§stream_start_produced: c_int§stream_end_produced: c_int§flow_level: c_int§tokens: yaml_parser_s__bindgen_ty_4§tokens_parsed: usize§token_available: c_int§indents: yaml_parser_s__bindgen_ty_5§indent: c_int§simple_key_allowed: c_int§simple_keys: yaml_parser_s__bindgen_ty_6§states: yaml_parser_s__bindgen_ty_7§state: yaml_parser_state_t§marks: yaml_parser_s__bindgen_ty_8§tag_directives: yaml_parser_s__bindgen_ty_9§aliases: yaml_parser_s__bindgen_ty_10§document: *mut yaml_document_t

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.