#[repr(C)]pub enum RESOURCE_TYPE {
HTML = 0,
IMAGE = 1,
STYLE = 2,
CURSOR = 3,
SCRIPT = 4,
RAW = 5,
FONT = 6,
SOUND = 7,
}
Expand description
The type of a loaded resource.
Variants§
HTML = 0
HTML document.
IMAGE = 1
Image.
STYLE = 2
CSS.
CURSOR = 3
Mouse cursor image.
SCRIPT = 4
TIScript document.
RAW = 5
Any data.
FONT = 6
Font.
SOUND = 7
Sound (wav bytes).
Trait Implementations§
Source§impl Debug for RESOURCE_TYPE
impl Debug for RESOURCE_TYPE
Source§impl PartialEq for RESOURCE_TYPE
impl PartialEq for RESOURCE_TYPE
impl StructuralPartialEq for RESOURCE_TYPE
Auto Trait Implementations§
impl Freeze for RESOURCE_TYPE
impl RefUnwindSafe for RESOURCE_TYPE
impl Send for RESOURCE_TYPE
impl Sync for RESOURCE_TYPE
impl Unpin for RESOURCE_TYPE
impl UnwindSafe for RESOURCE_TYPE
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