pub struct RubyExtConfig {
pub ruby_version: String,
pub use_sorbet: bool,
pub use_rbs: bool,
pub frozen_string_literals: bool,
pub encoding: String,
pub indent_size: usize,
pub use_keyword_args: bool,
}Expand description
Ruby backend config (extended)
Fields§
§ruby_version: String§use_sorbet: bool§use_rbs: bool§frozen_string_literals: bool§encoding: String§indent_size: usize§use_keyword_args: boolTrait Implementations§
Source§impl Clone for RubyExtConfig
impl Clone for RubyExtConfig
Source§fn clone(&self) -> RubyExtConfig
fn clone(&self) -> RubyExtConfig
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 RubyExtConfig
impl Debug for RubyExtConfig
Auto Trait Implementations§
impl Freeze for RubyExtConfig
impl RefUnwindSafe for RubyExtConfig
impl Send for RubyExtConfig
impl Sync for RubyExtConfig
impl Unpin for RubyExtConfig
impl UnsafeUnpin for RubyExtConfig
impl UnwindSafe for RubyExtConfig
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