Struct chalk_parse::ast::TraitFlags
source · pub struct TraitFlags {
pub auto: bool,
pub marker: bool,
pub upstream: bool,
pub fundamental: bool,
pub non_enumerable: bool,
pub coinductive: bool,
pub object_safe: bool,
}
Fields§
§auto: bool
§marker: bool
§upstream: bool
§fundamental: bool
§non_enumerable: bool
§coinductive: bool
§object_safe: bool
Trait Implementations§
source§impl Clone for TraitFlags
impl Clone for TraitFlags
source§fn clone(&self) -> TraitFlags
fn clone(&self) -> TraitFlags
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 TraitFlags
impl Debug for TraitFlags
source§impl PartialEq for TraitFlags
impl PartialEq for TraitFlags
source§fn eq(&self, other: &TraitFlags) -> bool
fn eq(&self, other: &TraitFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TraitFlags
impl StructuralPartialEq for TraitFlags
Auto Trait Implementations§
impl Freeze for TraitFlags
impl RefUnwindSafe for TraitFlags
impl Send for TraitFlags
impl Sync for TraitFlags
impl Unpin for TraitFlags
impl UnwindSafe for TraitFlags
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)