pub struct TermFlags {
pub pure: bool,
pub multi: bool,
pub partial: bool,
}
Expand description
Flags from a term’s declaration with (decl ...)
.
Fields§
§pure: bool
Whether the term is marked as pure
.
multi: bool
Whether the term is marked as multi
.
partial: bool
Whether the term is marked as partial
.
Trait Implementations§
impl Eq for TermFlags
impl StructuralPartialEq for TermFlags
Auto Trait Implementations§
impl Freeze for TermFlags
impl RefUnwindSafe for TermFlags
impl Send for TermFlags
impl Sync for TermFlags
impl Unpin for TermFlags
impl UnwindSafe for TermFlags
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)