pub enum ApplyScrubbing {
Auto,
Manual,
Never,
}Expand description
Whether an attribute should be scrubbed.
Variants§
Auto
The attribute will be stripped by default.
Manual
The attribute will only be stripped when addressed with a specific path selector, but generic
selectors such as $string do not apply.
Never
The attribute cannot be stripped at all.
Trait Implementations§
Source§impl Clone for ApplyScrubbing
impl Clone for ApplyScrubbing
Source§fn clone(&self) -> ApplyScrubbing
fn clone(&self) -> ApplyScrubbing
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 ApplyScrubbing
impl Debug for ApplyScrubbing
Source§impl Hash for ApplyScrubbing
impl Hash for ApplyScrubbing
Source§impl PartialEq for ApplyScrubbing
impl PartialEq for ApplyScrubbing
impl Copy for ApplyScrubbing
impl Eq for ApplyScrubbing
impl StructuralPartialEq for ApplyScrubbing
Auto Trait Implementations§
impl Freeze for ApplyScrubbing
impl RefUnwindSafe for ApplyScrubbing
impl Send for ApplyScrubbing
impl Sync for ApplyScrubbing
impl Unpin for ApplyScrubbing
impl UnsafeUnpin for ApplyScrubbing
impl UnwindSafe for ApplyScrubbing
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