Struct mila::TextArchive[][src]

pub struct TextArchive { /* fields omitted */ }

Implementations

impl TextArchive[src]

pub fn new() -> Self[src]

pub fn get_entries(&self) -> &LinkedHashMap<String, String>[src]

pub fn from_bytes(raw_archive: &[u8]) -> Result<Self, TextArchiveError>[src]

pub fn from_archive(archive: &BinArchive) -> Result<Self, TextArchiveError>[src]

pub fn serialize(&self) -> Result<Vec<u8>, TextArchiveError>[src]

pub fn get_title(&self) -> &str[src]

pub fn set_title(&mut self, new_title: String)[src]

pub fn has_message(&self, key: &str) -> bool[src]

pub fn delete_message(&mut self, key: &str)[src]

pub fn get_message(&self, key: &str) -> Option<String>[src]

pub fn set_message(&mut self, key: &str, message: &str)[src]

pub fn is_dirty(&self) -> bool[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.