Struct yaml_emitter_s

Source
#[repr(C)]
pub struct yaml_emitter_s {
Show 37 fields pub error: yaml_error_type_t, pub problem: *const c_char, pub write_handler: yaml_write_handler_t, pub write_handler_data: *mut c_void, pub output: yaml_emitter_s__bindgen_ty_1, pub buffer: yaml_emitter_s__bindgen_ty_2, pub raw_buffer: yaml_emitter_s__bindgen_ty_3, pub encoding: yaml_encoding_t, pub canonical: c_int, pub best_indent: c_int, pub best_width: c_int, pub unicode: c_int, pub line_break: yaml_break_t, pub states: yaml_emitter_s__bindgen_ty_4, pub state: yaml_emitter_state_t, pub events: yaml_emitter_s__bindgen_ty_5, pub indents: yaml_emitter_s__bindgen_ty_6, pub tag_directives: yaml_emitter_s__bindgen_ty_7, pub indent: c_int, pub flow_level: c_int, pub root_context: c_int, pub sequence_context: c_int, pub mapping_context: c_int, pub simple_key_context: c_int, pub line: c_int, pub column: c_int, pub whitespace: c_int, pub indention: c_int, pub open_ended: c_int, pub anchor_data: yaml_emitter_s__bindgen_ty_8, pub tag_data: yaml_emitter_s__bindgen_ty_9, pub scalar_data: yaml_emitter_s__bindgen_ty_10, pub opened: c_int, pub closed: c_int, pub anchors: *mut yaml_anchors_t, pub last_anchor_id: c_int, pub document: *mut yaml_document_t,
}

Fields§

§error: yaml_error_type_t§problem: *const c_char§write_handler: yaml_write_handler_t§write_handler_data: *mut c_void§output: yaml_emitter_s__bindgen_ty_1§buffer: yaml_emitter_s__bindgen_ty_2§raw_buffer: yaml_emitter_s__bindgen_ty_3§encoding: yaml_encoding_t§canonical: c_int§best_indent: c_int§best_width: c_int§unicode: c_int§line_break: yaml_break_t§states: yaml_emitter_s__bindgen_ty_4§state: yaml_emitter_state_t§events: yaml_emitter_s__bindgen_ty_5§indents: yaml_emitter_s__bindgen_ty_6§tag_directives: yaml_emitter_s__bindgen_ty_7§indent: c_int§flow_level: c_int§root_context: c_int§sequence_context: c_int§mapping_context: c_int§simple_key_context: c_int§line: c_int§column: c_int§whitespace: c_int§indention: c_int§open_ended: c_int§anchor_data: yaml_emitter_s__bindgen_ty_8§tag_data: yaml_emitter_s__bindgen_ty_9§scalar_data: yaml_emitter_s__bindgen_ty_10§opened: c_int§closed: c_int§anchors: *mut yaml_anchors_t§last_anchor_id: c_int§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.