#[repr(u32)]pub enum TidyUseCustomTagsState {
No = 0,
Blocklevel = 1,
Empty = 2,
Inline = 3,
Pre = 4,
}
Expand description
Values used by ParseUseCustomTags, which describes how Autonomous Custom tags (ACT’s) found by Tidy are treated.
@remark These enum members all have associated localized strings available for internal LibTidy use, and also have public string keys in the form MEMBER_STRING, e.g., TIDYCUSTOMBLOCKLEVEL_STRING
@remark This enum’s starting value is guaranteed to remain stable.
Variants§
No = 0
< Do not allow autonomous custom tags
Blocklevel = 1
< ACT’s treated as blocklevel
Empty = 2
< ACT’s treated as empty tags
Inline = 3
< ACT’s treated as inline tags
Pre = 4
< ACT’s treated as pre tags
Trait Implementations§
Source§impl Clone for TidyUseCustomTagsState
impl Clone for TidyUseCustomTagsState
Source§fn clone(&self) -> TidyUseCustomTagsState
fn clone(&self) -> TidyUseCustomTagsState
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 TidyUseCustomTagsState
impl Debug for TidyUseCustomTagsState
Source§impl Hash for TidyUseCustomTagsState
impl Hash for TidyUseCustomTagsState
Source§impl PartialEq for TidyUseCustomTagsState
impl PartialEq for TidyUseCustomTagsState
impl Copy for TidyUseCustomTagsState
impl Eq for TidyUseCustomTagsState
impl StructuralPartialEq for TidyUseCustomTagsState
Auto Trait Implementations§
impl Freeze for TidyUseCustomTagsState
impl RefUnwindSafe for TidyUseCustomTagsState
impl Send for TidyUseCustomTagsState
impl Sync for TidyUseCustomTagsState
impl Unpin for TidyUseCustomTagsState
impl UnwindSafe for TidyUseCustomTagsState
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