pub enum PackageType {
H,
F,
B,
}Expand description
Represents the type of a package trio
Variants§
H
Header package
Usually contains file headers and metadata
F
File package
Usually contains compressed sound and texture assets
B
Binary package
Contains compiled binary data
Trait Implementations§
Source§impl Clone for PackageType
impl Clone for PackageType
Source§fn clone(&self) -> PackageType
fn clone(&self) -> PackageType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PackageType
impl Debug for PackageType
Source§impl From<PackageType> for char
impl From<PackageType> for char
Source§fn from(package_type: PackageType) -> Self
fn from(package_type: PackageType) -> Self
Converts from a PackageType to a char
Source§impl PartialEq for PackageType
impl PartialEq for PackageType
Source§impl TryFrom<String> for PackageType
impl TryFrom<String> for PackageType
Source§impl TryFrom<char> for PackageType
impl TryFrom<char> for PackageType
impl Copy for PackageType
impl Eq for PackageType
impl StructuralPartialEq for PackageType
Auto Trait Implementations§
impl Freeze for PackageType
impl RefUnwindSafe for PackageType
impl Send for PackageType
impl Sync for PackageType
impl Unpin for PackageType
impl UnwindSafe for PackageType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more