pub enum ResourceType {
Icon,
Cursor,
}
Expand description
Icon or Cursor type.
Variants
Icon
Cursor
Implementations
sourceimpl ResourceType
impl ResourceType
Trait Implementations
sourceimpl Clone for ResourceType
impl Clone for ResourceType
sourcefn clone(&self) -> ResourceType
fn clone(&self) -> ResourceType
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ResourceType
impl Debug for ResourceType
sourceimpl<'a> From<ResourceType> for Name<'a>
impl<'a> From<ResourceType> for Name<'a>
sourcefn from(resource_type: ResourceType) -> Name<'a>
fn from(resource_type: ResourceType) -> Name<'a>
Converts to this type from the input type.
sourceimpl PartialEq<ResourceType> for ResourceType
impl PartialEq<ResourceType> for ResourceType
sourcefn eq(&self, other: &ResourceType) -> bool
fn eq(&self, other: &ResourceType) -> bool
impl Copy for ResourceType
impl Eq for ResourceType
impl StructuralEq for ResourceType
impl StructuralPartialEq for ResourceType
Auto Trait Implementations
impl RefUnwindSafe for ResourceType
impl Send for ResourceType
impl Sync for ResourceType
impl Unpin for ResourceType
impl UnwindSafe for ResourceType
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