pub enum AtlasKey {
Glyph(RenderGlyphParams),
Svg(RenderSvgParams),
Image(RenderImageParams),
}
Variants§
Trait Implementations§
source§impl From<RenderGlyphParams> for AtlasKey
impl From<RenderGlyphParams> for AtlasKey
source§fn from(params: RenderGlyphParams) -> Self
fn from(params: RenderGlyphParams) -> Self
Converts to this type from the input type.
source§impl From<RenderImageParams> for AtlasKey
impl From<RenderImageParams> for AtlasKey
source§fn from(params: RenderImageParams) -> Self
fn from(params: RenderImageParams) -> Self
Converts to this type from the input type.
source§impl From<RenderSvgParams> for AtlasKey
impl From<RenderSvgParams> for AtlasKey
source§fn from(params: RenderSvgParams) -> Self
fn from(params: RenderSvgParams) -> Self
Converts to this type from the input type.
source§impl PartialEq<AtlasKey> for AtlasKey
impl PartialEq<AtlasKey> for AtlasKey
impl Eq for AtlasKey
impl StructuralEq for AtlasKey
impl StructuralPartialEq for AtlasKey
Auto Trait Implementations§
impl RefUnwindSafe for AtlasKey
impl Send for AtlasKey
impl Sync for AtlasKey
impl Unpin for AtlasKey
impl UnwindSafe for AtlasKey
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.