pub struct InlineCommentOptions {
pub active: Option<bool>,
pub chars: Option<Vec<String>>,
pub escape: Option<InlineEscapeOptions>,
}Expand description
Inline comment behaviour.
Fields§
§active: Option<bool>Whether inline comments are active. Default: false.
chars: Option<Vec<String>>The characters that start an inline comment. Default: # and ;.
escape: Option<InlineEscapeOptions>How a literal comment character is written in a value.
Trait Implementations§
Source§impl Clone for InlineCommentOptions
impl Clone for InlineCommentOptions
Source§impl Debug for InlineCommentOptions
impl Debug for InlineCommentOptions
Source§impl Default for InlineCommentOptions
impl Default for InlineCommentOptions
impl Eq for InlineCommentOptions
Source§impl PartialEq for InlineCommentOptions
impl PartialEq for InlineCommentOptions
impl StructuralPartialEq for InlineCommentOptions
Auto Trait Implementations§
impl Freeze for InlineCommentOptions
impl RefUnwindSafe for InlineCommentOptions
impl Send for InlineCommentOptions
impl Sync for InlineCommentOptions
impl Unpin for InlineCommentOptions
impl UnsafeUnpin for InlineCommentOptions
impl UnwindSafe for InlineCommentOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.