#[repr(u8)]enum ResourceType {
Show 13 variants
Default = 0,
BMP = 1,
PNG = 2,
JPG = 3,
GIF = 4,
WAV = 5,
OGG = 6,
PSD = 7,
YCG = 8,
PSB = 9,
WAV_ = 10,
OGG_ = 11,
OPUS = 12,
}Available on crate features
yuris and yuris-arc only.Variants§
Default = 0
BMP = 1
PNG = 2
JPG = 3
GIF = 4
WAV = 5
OGG = 6
PSD = 7
YCG = 8
PSB = 9
WAV_ = 10
OGG_ = 11
OPUS = 12
Trait Implementations§
Source§impl Clone for ResourceType
impl Clone for ResourceType
Source§fn clone(&self) -> ResourceType
fn clone(&self) -> ResourceType
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 ResourceType
impl Debug for ResourceType
Source§impl Default for ResourceType
impl Default for ResourceType
Source§impl From<ResourceType> for u8
impl From<ResourceType> for u8
Source§fn from(v: ResourceType) -> Self
fn from(v: ResourceType) -> Self
Converts to this type from the input type.
Source§impl TryFrom<u8> for ResourceType
impl TryFrom<u8> for ResourceType
impl Copy for ResourceType
Auto Trait Implementations§
impl Freeze for ResourceType
impl RefUnwindSafe for ResourceType
impl Send for ResourceType
impl Sync for ResourceType
impl Unpin for ResourceType
impl UnwindSafe for ResourceType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more