[−][src]Struct emote_psb::VirtualPsb
Implementations
impl VirtualPsb
[src]
pub fn new(
header: PsbHeader,
strings: Vec<String>,
resources: Vec<Vec<u8>>,
extra: Vec<Vec<u8>>,
root: PsbObject
) -> Self
[src]
header: PsbHeader,
strings: Vec<String>,
resources: Vec<Vec<u8>>,
extra: Vec<Vec<u8>>,
root: PsbObject
) -> Self
pub fn header(&self) -> PsbHeader
[src]
pub fn resources(&self) -> &Vec<Vec<u8>>
[src]
pub fn resources_mut(&mut self) -> &mut Vec<Vec<u8>>
[src]
pub fn strings(&self) -> &Vec<String>
[src]
pub fn strings_mut(&mut self) -> &mut Vec<String>
[src]
pub fn extra(&self) -> &Vec<Vec<u8>>
[src]
pub fn extra_mut(&mut self) -> &mut Vec<Vec<u8>>
[src]
pub fn root(&self) -> &PsbObject
[src]
pub fn root_mut(&mut self) -> &mut PsbObject
[src]
pub fn set_root(&mut self, root: PsbObject)
[src]
pub fn unwrap(
self
) -> (PsbHeader, Vec<String>, Vec<Vec<u8>>, Vec<Vec<u8>>, PsbObject)
[src]
self
) -> (PsbHeader, Vec<String>, Vec<Vec<u8>>, Vec<Vec<u8>>, PsbObject)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VirtualPsb
[src]
impl Send for VirtualPsb
[src]
impl Sync for VirtualPsb
[src]
impl Unpin for VirtualPsb
[src]
impl UnwindSafe for VirtualPsb
[src]
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>,