pub enum PlaceholderCommentMode {
Disabled,
Enabled {
limit: usize,
},
}Expand description
Controls whether placeholder hints are emitted as extracted comments.
Variants§
Disabled
Do not emit placeholder comments.
Enabled
Emit up to limit placeholder comments per placeholder name.
Trait Implementations§
Source§impl Clone for PlaceholderCommentMode
impl Clone for PlaceholderCommentMode
Source§fn clone(&self) -> PlaceholderCommentMode
fn clone(&self) -> PlaceholderCommentMode
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 PlaceholderCommentMode
impl Debug for PlaceholderCommentMode
Source§impl Default for PlaceholderCommentMode
impl Default for PlaceholderCommentMode
Source§fn default() -> PlaceholderCommentMode
fn default() -> PlaceholderCommentMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for PlaceholderCommentMode
impl PartialEq for PlaceholderCommentMode
impl Eq for PlaceholderCommentMode
impl StructuralPartialEq for PlaceholderCommentMode
Auto Trait Implementations§
impl Freeze for PlaceholderCommentMode
impl RefUnwindSafe for PlaceholderCommentMode
impl Send for PlaceholderCommentMode
impl Sync for PlaceholderCommentMode
impl Unpin for PlaceholderCommentMode
impl UnsafeUnpin for PlaceholderCommentMode
impl UnwindSafe for PlaceholderCommentMode
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