pub enum StaticLayerSource {
BakedAsset {
key: &'static str,
fit: ImageFit,
},
RuntimeGenerated,
Hybrid {
baked_base: Option<&'static str>,
fit: ImageFit,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for StaticLayerSource
impl Clone for StaticLayerSource
Source§fn clone(&self) -> StaticLayerSource
fn clone(&self) -> StaticLayerSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StaticLayerSource
impl Debug for StaticLayerSource
impl Eq for StaticLayerSource
Source§impl Hash for StaticLayerSource
impl Hash for StaticLayerSource
Source§impl PartialEq for StaticLayerSource
impl PartialEq for StaticLayerSource
impl StructuralPartialEq for StaticLayerSource
Auto Trait Implementations§
impl Freeze for StaticLayerSource
impl RefUnwindSafe for StaticLayerSource
impl Send for StaticLayerSource
impl Sync for StaticLayerSource
impl Unpin for StaticLayerSource
impl UnsafeUnpin for StaticLayerSource
impl UnwindSafe for StaticLayerSource
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