pub struct AssocConstInfo {
pub name: String,
pub ty: String,
pub value: Option<String>,
pub docs: Option<String>,
pub span: Option<SpanInfo>,
}Expand description
Associated constant information.
Fieldsยง
ยงname: Stringยงty: Stringยงvalue: Option<String>The value (if specified)
docs: Option<String>ยงspan: Option<SpanInfo>Trait Implementationsยง
Sourceยงimpl Clone for AssocConstInfo
impl Clone for AssocConstInfo
Sourceยงfn clone(&self) -> AssocConstInfo
fn clone(&self) -> AssocConstInfo
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 AssocConstInfo
impl Debug for AssocConstInfo
Sourceยงimpl<'de> Deserialize<'de> for AssocConstInfo
impl<'de> Deserialize<'de> for AssocConstInfo
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
Auto Trait Implementationsยง
impl Freeze for AssocConstInfo
impl RefUnwindSafe for AssocConstInfo
impl Send for AssocConstInfo
impl Sync for AssocConstInfo
impl Unpin for AssocConstInfo
impl UnwindSafe for AssocConstInfo
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