Struct xim_parser::Reader [−][src]
Implementations
impl<'b> Reader<'b>[src]
pub fn new(bytes: &'b [u8]) -> Self[src]
pub fn cursor(&self) -> usize[src]
pub fn pad4(&mut self) -> Result<(), ReadError>[src]
pub fn eos(&self) -> ReadError[src]
pub fn invalid_data(&self, ty: &'static str, item: impl ToString) -> ReadError[src]
pub fn u8(&mut self) -> Result<u8, ReadError>[src]
pub fn i16(&mut self) -> Result<i16, ReadError>[src]
pub fn u16(&mut self) -> Result<u16, ReadError>[src]
pub fn u32(&mut self) -> Result<u32, ReadError>[src]
pub fn i32(&mut self) -> Result<i32, ReadError>[src]
pub fn consume(&mut self, len: usize) -> Result<&'b [u8], ReadError>[src]
Auto Trait Implementations
impl<'b> RefUnwindSafe for Reader<'b>
impl<'b> Send for Reader<'b>
impl<'b> Sync for Reader<'b>
impl<'b> Unpin for Reader<'b>
impl<'b> UnwindSafe for Reader<'b>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,