pub struct RubyFeatureFlags {
pub use_data_class: bool,
pub use_pattern_matching: bool,
pub use_numbered_params: bool,
pub use_hash_shorthand: bool,
}Expand description
Ruby feature flags
Fields§
§use_data_class: bool§use_pattern_matching: bool§use_numbered_params: bool§use_hash_shorthand: boolTrait Implementations§
Source§impl Clone for RubyFeatureFlags
impl Clone for RubyFeatureFlags
Source§fn clone(&self) -> RubyFeatureFlags
fn clone(&self) -> RubyFeatureFlags
Returns a duplicate 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 RubyFeatureFlags
impl Debug for RubyFeatureFlags
Source§impl Default for RubyFeatureFlags
impl Default for RubyFeatureFlags
Source§fn default() -> RubyFeatureFlags
fn default() -> RubyFeatureFlags
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RubyFeatureFlags
impl RefUnwindSafe for RubyFeatureFlags
impl Send for RubyFeatureFlags
impl Sync for RubyFeatureFlags
impl Unpin for RubyFeatureFlags
impl UnsafeUnpin for RubyFeatureFlags
impl UnwindSafe for RubyFeatureFlags
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