pub struct SyntaxFeatures {
pub const_generics: bool,
pub impl_trait: bool,
pub async_fn: bool,
pub generic_associated_types: bool,
}Fields§
§const_generics: bool§impl_trait: bool§async_fn: bool§generic_associated_types: 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