Enum ResourceLoadingMethod
#[non_exhaustive]pub enum ResourceLoadingMethod {
All,
CacheOnly,
NetworkOnly,
Unknown(u32),
}Expand description
Resource loading method requested by MapLibre Native.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
§impl Clone for ResourceLoadingMethod
impl Clone for ResourceLoadingMethod
§fn clone(&self) -> ResourceLoadingMethod
fn clone(&self) -> ResourceLoadingMethod
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 more§impl Debug for ResourceLoadingMethod
impl Debug for ResourceLoadingMethod
§impl Hash for ResourceLoadingMethod
impl Hash for ResourceLoadingMethod
§impl PartialEq for ResourceLoadingMethod
impl PartialEq for ResourceLoadingMethod
impl Copy for ResourceLoadingMethod
impl Eq for ResourceLoadingMethod
impl StructuralPartialEq for ResourceLoadingMethod
Auto Trait Implementations§
impl Freeze for ResourceLoadingMethod
impl RefUnwindSafe for ResourceLoadingMethod
impl Send for ResourceLoadingMethod
impl Sync for ResourceLoadingMethod
impl Unpin for ResourceLoadingMethod
impl UnsafeUnpin for ResourceLoadingMethod
impl UnwindSafe for ResourceLoadingMethod
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