pub struct LeanBracketedDeclarationInfo {
pub name: String,
pub exists: bool,
pub kind: Option<String>,
pub module: Option<String>,
pub raw_type: Option<String>,
}Expand description
Serialized declaration metadata produced inside the bracket.
Fields§
§name: String§exists: bool§kind: Option<String>§module: Option<String>§raw_type: Option<String>Trait Implementations§
Source§impl Clone for LeanBracketedDeclarationInfo
impl Clone for LeanBracketedDeclarationInfo
Source§fn clone(&self) -> LeanBracketedDeclarationInfo
fn clone(&self) -> LeanBracketedDeclarationInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LeanBracketedDeclarationInfo
impl Debug for LeanBracketedDeclarationInfo
Source§impl<'de> Deserialize<'de> for LeanBracketedDeclarationInfo
impl<'de> Deserialize<'de> for LeanBracketedDeclarationInfo
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
impl Eq for LeanBracketedDeclarationInfo
impl StructuralPartialEq for LeanBracketedDeclarationInfo
Source§impl<'lean> TryFromLean<'lean> for LeanBracketedDeclarationInfo
impl<'lean> TryFromLean<'lean> for LeanBracketedDeclarationInfo
Source§fn try_from_lean(obj: Obj<'lean>) -> LeanResult<Self>
fn try_from_lean(obj: Obj<'lean>) -> LeanResult<Self>
Decode
obj into Self, returning a
LeanError::Host with stage
[HostStage::Conversion] if the object’s kind or payload is
outside the type’s representable range. Read moreAuto Trait Implementations§
impl Freeze for LeanBracketedDeclarationInfo
impl RefUnwindSafe for LeanBracketedDeclarationInfo
impl Send for LeanBracketedDeclarationInfo
impl Sync for LeanBracketedDeclarationInfo
impl Unpin for LeanBracketedDeclarationInfo
impl UnsafeUnpin for LeanBracketedDeclarationInfo
impl UnwindSafe for LeanBracketedDeclarationInfo
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