Enum rosu_render::model::RenderSkinOption
source · 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 copy 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<'a> Default for RenderSkinOption<'a>
impl<'a> Default for RenderSkinOption<'a>
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<'a> From<u32> for RenderSkinOption<'a>
impl<'a> From<u32> for RenderSkinOption<'a>
source§impl<'a> PartialEq for RenderSkinOption<'a>
impl<'a> PartialEq for RenderSkinOption<'a>
source§fn eq(&self, other: &RenderSkinOption<'a>) -> bool
fn eq(&self, other: &RenderSkinOption<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a> Eq for RenderSkinOption<'a>
impl<'a> StructuralPartialEq for RenderSkinOption<'a>
Auto Trait Implementations§
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<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.