#[repr(u8)]pub enum StyluaBlockNewlineGapsChoice {
Never = 0,
Preserve = 1,
}Variants§
Trait Implementations§
Source§impl Clone for StyluaBlockNewlineGapsChoice
impl Clone for StyluaBlockNewlineGapsChoice
Source§fn clone(&self) -> StyluaBlockNewlineGapsChoice
fn clone(&self) -> StyluaBlockNewlineGapsChoice
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 StyluaBlockNewlineGapsChoice
impl Debug for StyluaBlockNewlineGapsChoice
Source§impl From<StyluaBlockNewlineGapsChoice> for RawValue
impl From<StyluaBlockNewlineGapsChoice> for RawValue
Source§fn from(val: StyluaBlockNewlineGapsChoice) -> RawValue
fn from(val: StyluaBlockNewlineGapsChoice) -> RawValue
Converts to this type from the input type.
Source§impl PartialEq for StyluaBlockNewlineGapsChoice
impl PartialEq for StyluaBlockNewlineGapsChoice
Source§fn eq(&self, other: &StyluaBlockNewlineGapsChoice) -> bool
fn eq(&self, other: &StyluaBlockNewlineGapsChoice) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PropertyValue for StyluaBlockNewlineGapsChoice
impl PropertyValue for StyluaBlockNewlineGapsChoice
Source§const MAYBE_UNSET: bool = false
const MAYBE_UNSET: bool = false
Indicates whether a value that is case-insensitively equal to “unset”
should NOT be treated as if the value is unset. Read more
Source§type Err = UnknownValueError
type Err = UnknownValueError
The type of value returned on a failed parse.
impl Copy for StyluaBlockNewlineGapsChoice
impl Eq for StyluaBlockNewlineGapsChoice
impl StructuralPartialEq for StyluaBlockNewlineGapsChoice
Auto Trait Implementations§
impl Freeze for StyluaBlockNewlineGapsChoice
impl RefUnwindSafe for StyluaBlockNewlineGapsChoice
impl Send for StyluaBlockNewlineGapsChoice
impl Sync for StyluaBlockNewlineGapsChoice
impl Unpin for StyluaBlockNewlineGapsChoice
impl UnsafeUnpin for StyluaBlockNewlineGapsChoice
impl UnwindSafe for StyluaBlockNewlineGapsChoice
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