pub struct UnifiedImage {
pub groups: Vec<GroupSubInfo>,
pub subs: Vec<SubInfo>,
/* private fields */
}Fields
groups: Vec<GroupSubInfo>subs: Vec<SubInfo>Implementations
sourceimpl UnifiedImage
impl UnifiedImage
pub fn from_file(path: &Path) -> Result<Self>
pub fn name(&self) -> String
pub fn add_sub(&mut self, info: SubInfo)
pub fn add_subs_group(&mut self, group: GroupSubInfo)
pub fn slice_subs(self) -> Vec<UnifiedImage>
Trait Implementations
sourceimpl Default for UnifiedImage
impl Default for UnifiedImage
sourcefn default() -> UnifiedImage
fn default() -> UnifiedImage
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for UnifiedImage
impl Send for UnifiedImage
impl Sync for UnifiedImage
impl Unpin for UnifiedImage
impl UnwindSafe for UnifiedImage
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
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
sourcefn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian().
sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian().
sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian().