pub struct DeclarationFlags {
pub is_private: bool,
pub is_generated: bool,
pub is_internal: bool,
}Fields§
§is_private: bool§is_generated: bool§is_internal: boolTrait Implementations§
Source§impl Clone for DeclarationFlags
impl Clone for DeclarationFlags
Source§fn clone(&self) -> DeclarationFlags
fn clone(&self) -> DeclarationFlags
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 moreimpl Copy for DeclarationFlags
Source§impl Debug for DeclarationFlags
impl Debug for DeclarationFlags
Source§impl Default for DeclarationFlags
impl Default for DeclarationFlags
Source§fn default() -> DeclarationFlags
fn default() -> DeclarationFlags
Returns the “default value” for a type. Read more
impl Eq for DeclarationFlags
Source§impl PartialEq for DeclarationFlags
impl PartialEq for DeclarationFlags
impl StructuralPartialEq for DeclarationFlags
Source§impl<'lean> TryFromLean<'lean> for DeclarationFlags
impl<'lean> TryFromLean<'lean> for DeclarationFlags
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 DeclarationFlags
impl RefUnwindSafe for DeclarationFlags
impl Send for DeclarationFlags
impl Sync for DeclarationFlags
impl Unpin for DeclarationFlags
impl UnsafeUnpin for DeclarationFlags
impl UnwindSafe for DeclarationFlags
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