pub struct ConstantReflection {
pub name: Name,
pub type_reflection: TypeReflection,
pub item_span: Span,
pub definition_span: Span,
pub is_populated: bool,
}Fields§
§name: Name§type_reflection: TypeReflection§item_span: Span§definition_span: Span§is_populated: boolTrait Implementations§
Source§impl Clone for ConstantReflection
impl Clone for ConstantReflection
Source§fn clone(&self) -> ConstantReflection
fn clone(&self) -> ConstantReflection
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 Debug for ConstantReflection
impl Debug for ConstantReflection
Source§impl<'de> Deserialize<'de> for ConstantReflection
impl<'de> Deserialize<'de> for ConstantReflection
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 ConstantReflection
impl Hash for ConstantReflection
Source§impl Ord for ConstantReflection
impl Ord for ConstantReflection
Source§fn cmp(&self, other: &ConstantReflection) -> Ordering
fn cmp(&self, other: &ConstantReflection) -> 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 ConstantReflection
impl PartialEq for ConstantReflection
Source§impl PartialOrd for ConstantReflection
impl PartialOrd for ConstantReflection
Source§impl Serialize for ConstantReflection
impl Serialize for ConstantReflection
impl Eq for ConstantReflection
impl StructuralPartialEq for ConstantReflection
Auto Trait Implementations§
impl Freeze for ConstantReflection
impl RefUnwindSafe for ConstantReflection
impl Send for ConstantReflection
impl Sync for ConstantReflection
impl Unpin for ConstantReflection
impl UnwindSafe for ConstantReflection
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