pub struct ClassLikeConstantReflection {
pub attribute_reflections: Vec<AttributeReflection>,
pub visibility_reflection: Option<ClassLikeMemberVisibilityReflection>,
pub name: ClassLikeMemberName,
pub type_reflection: Option<TypeReflection>,
pub inferred_type_reflection: TypeReflection,
pub is_final: bool,
pub item_span: Span,
pub definition_span: Span,
}Fields§
§attribute_reflections: Vec<AttributeReflection>§visibility_reflection: Option<ClassLikeMemberVisibilityReflection>§name: ClassLikeMemberName§type_reflection: Option<TypeReflection>§inferred_type_reflection: TypeReflection§is_final: bool§item_span: Span§definition_span: SpanTrait Implementations§
Source§impl Clone for ClassLikeConstantReflection
impl Clone for ClassLikeConstantReflection
Source§fn clone(&self) -> ClassLikeConstantReflection
fn clone(&self) -> ClassLikeConstantReflection
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 ClassLikeConstantReflection
impl Debug for ClassLikeConstantReflection
Source§impl<'de> Deserialize<'de> for ClassLikeConstantReflection
impl<'de> Deserialize<'de> for ClassLikeConstantReflection
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 ClassLikeConstantReflection
impl Hash for ClassLikeConstantReflection
Source§impl Ord for ClassLikeConstantReflection
impl Ord for ClassLikeConstantReflection
Source§fn cmp(&self, other: &ClassLikeConstantReflection) -> Ordering
fn cmp(&self, other: &ClassLikeConstantReflection) -> 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 PartialOrd for ClassLikeConstantReflection
impl PartialOrd for ClassLikeConstantReflection
impl Eq for ClassLikeConstantReflection
impl StructuralPartialEq for ClassLikeConstantReflection
Auto Trait Implementations§
impl Freeze for ClassLikeConstantReflection
impl RefUnwindSafe for ClassLikeConstantReflection
impl Send for ClassLikeConstantReflection
impl Sync for ClassLikeConstantReflection
impl Unpin for ClassLikeConstantReflection
impl UnwindSafe for ClassLikeConstantReflection
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