pub struct EnumCaseReflection {
pub attribut_reflections: Vec<AttributeReflection>,
pub name: ClassLikeMemberName,
pub type_reflection: Option<TypeReflection>,
pub is_backed: bool,
pub span: Span,
}Fields§
§attribut_reflections: Vec<AttributeReflection>§name: ClassLikeMemberName§type_reflection: Option<TypeReflection>§is_backed: bool§span: SpanTrait Implementations§
Source§impl Clone for EnumCaseReflection
impl Clone for EnumCaseReflection
Source§fn clone(&self) -> EnumCaseReflection
fn clone(&self) -> EnumCaseReflection
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 Debug for EnumCaseReflection
impl Debug for EnumCaseReflection
Source§impl<'de> Deserialize<'de> for EnumCaseReflection
impl<'de> Deserialize<'de> for EnumCaseReflection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for EnumCaseReflection
impl Hash for EnumCaseReflection
Source§impl Ord for EnumCaseReflection
impl Ord for EnumCaseReflection
Source§fn cmp(&self, other: &EnumCaseReflection) -> Ordering
fn cmp(&self, other: &EnumCaseReflection) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EnumCaseReflection
impl PartialEq for EnumCaseReflection
Source§impl PartialOrd for EnumCaseReflection
impl PartialOrd for EnumCaseReflection
Source§impl Serialize for EnumCaseReflection
impl Serialize for EnumCaseReflection
impl Eq for EnumCaseReflection
impl StructuralPartialEq for EnumCaseReflection
Auto Trait Implementations§
impl Freeze for EnumCaseReflection
impl RefUnwindSafe for EnumCaseReflection
impl Send for EnumCaseReflection
impl Sync for EnumCaseReflection
impl Unpin for EnumCaseReflection
impl UnwindSafe for EnumCaseReflection
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