pub struct Ck3Text<'a> { /* private fields */ }
Expand description
A parsed Ck3 text document
Implementations
sourceimpl<'a> Ck3Text<'a>
impl<'a> Ck3Text<'a>
pub fn from_slice(data: &'a [u8]) -> Result<Self, Ck3Error>
pub fn reader(&self) -> ObjectReader<'_, '_, Utf8Encoding>
pub fn deserialize<T>(&self) -> Result<T, Ck3Error>where
T: Deserialize<'a>,
Auto Trait Implementations
impl<'a> RefUnwindSafe for Ck3Text<'a>
impl<'a> Send for Ck3Text<'a>
impl<'a> Sync for Ck3Text<'a>
impl<'a> Unpin for Ck3Text<'a>
impl<'a> UnwindSafe for Ck3Text<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more