pub struct SyntaxFeatures {
pub nullable: bool,
pub records: bool,
pub primary_ctors: bool,
pub init_only: bool,
}Fields§
§nullable: bool§records: bool§primary_ctors: bool§init_only: boolImplementations§
Trait Implementations§
Source§impl Clone for SyntaxFeatures
impl Clone for SyntaxFeatures
Source§fn clone(&self) -> SyntaxFeatures
fn clone(&self) -> SyntaxFeatures
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 SyntaxFeatures
Source§impl Debug for SyntaxFeatures
impl Debug for SyntaxFeatures
Auto Trait Implementations§
impl Freeze for SyntaxFeatures
impl RefUnwindSafe for SyntaxFeatures
impl Send for SyntaxFeatures
impl Sync for SyntaxFeatures
impl Unpin for SyntaxFeatures
impl UnsafeUnpin for SyntaxFeatures
impl UnwindSafe for SyntaxFeatures
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