Skip to main content

_xmlParserInput

Struct _xmlParserInput 

Source
#[repr(C)]
pub struct _xmlParserInput {
Show 17 fields pub buf: *mut _xmlParserInputBuffer, pub filename: *const c_char, pub directory: *const c_char, pub base: *const xmlChar, pub cur: *const xmlChar, pub end: *const xmlChar, pub length: c_int, pub line: c_int, pub col: c_int, pub consumed: c_ulong, pub free: Option<unsafe extern "C" fn(*mut c_char)>, pub encoding: *const xmlChar, pub version: *const xmlChar, pub flags: c_int, pub id: c_int, pub parentConsumed: c_ulong, pub entity: *mut _xmlEntity,
}
Expand description

Parser input stream.

Fields§

§buf: *mut _xmlParserInputBuffer§filename: *const c_char§directory: *const c_char§base: *const xmlChar§cur: *const xmlChar§end: *const xmlChar§length: c_int§line: c_int§col: c_int§consumed: c_ulong§free: Option<unsafe extern "C" fn(*mut c_char)>§encoding: *const xmlChar§version: *const xmlChar§flags: c_int§id: c_int§parentConsumed: c_ulong§entity: *mut _xmlEntity

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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

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> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

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.