pub enum EditorConfigValue {
Int(u32),
String(String),
}Expand description
A value that can be either an integer or a special string value.
Variants§
Int(u32)
Integer value
String(String)
String value (e.g., “tab” for indent_size, “off” for max_line_length)
Trait Implementations§
Source§impl Clone for EditorConfigValue
impl Clone for EditorConfigValue
Source§fn clone(&self) -> EditorConfigValue
fn clone(&self) -> EditorConfigValue
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 EditorConfigValue
impl Debug for EditorConfigValue
Source§impl PartialEq for EditorConfigValue
impl PartialEq for EditorConfigValue
impl Eq for EditorConfigValue
impl StructuralPartialEq for EditorConfigValue
Auto Trait Implementations§
impl Freeze for EditorConfigValue
impl RefUnwindSafe for EditorConfigValue
impl Send for EditorConfigValue
impl Sync for EditorConfigValue
impl Unpin for EditorConfigValue
impl UnsafeUnpin for EditorConfigValue
impl UnwindSafe for EditorConfigValue
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