pub enum RenderSkinOption<'a> {
Official {
name: Cow<'a, str>,
},
Custom {
id: u32,
},
}Variants§
Trait Implementations§
Source§impl<'a> Clone for RenderSkinOption<'a>
impl<'a> Clone for RenderSkinOption<'a>
Source§fn clone(&self) -> RenderSkinOption<'a>
fn clone(&self) -> RenderSkinOption<'a>
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 moreSource§impl<'a> Debug for RenderSkinOption<'a>
impl<'a> Debug for RenderSkinOption<'a>
Source§impl Default for RenderSkinOption<'_>
impl Default for RenderSkinOption<'_>
Source§impl<'de> Deserialize<'de> for RenderSkinOption<'static>
impl<'de> Deserialize<'de> for RenderSkinOption<'static>
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a> From<&'a String> for RenderSkinOption<'a>
impl<'a> From<&'a String> for RenderSkinOption<'a>
Source§impl<'a> From<&'a str> for RenderSkinOption<'a>
impl<'a> From<&'a str> for RenderSkinOption<'a>
Source§impl<'a> From<String> for RenderSkinOption<'a>
impl<'a> From<String> for RenderSkinOption<'a>
Source§impl From<u32> for RenderSkinOption<'_>
impl From<u32> for RenderSkinOption<'_>
Source§impl<'a> PartialEq for RenderSkinOption<'a>
impl<'a> PartialEq for RenderSkinOption<'a>
impl<'a> Eq for RenderSkinOption<'a>
impl<'a> StructuralPartialEq for RenderSkinOption<'a>
Auto Trait Implementations§
impl<'a> Freeze for RenderSkinOption<'a>
impl<'a> RefUnwindSafe for RenderSkinOption<'a>
impl<'a> Send for RenderSkinOption<'a>
impl<'a> Sync for RenderSkinOption<'a>
impl<'a> Unpin for RenderSkinOption<'a>
impl<'a> UnwindSafe for RenderSkinOption<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.