pub struct CodeAttrs {
pub nominify: bool,
pub minify: bool,
pub keep_comments: bool,
}Fields§
§nominify: bool§minify: bool§keep_comments: bool@minify-keep-comments — State 3. Implies minification but the
minifier preserves comments (converting // to /* */ where
necessary, with a B0703 warning per conversion).
Trait Implementations§
impl Eq for CodeAttrs
impl StructuralPartialEq for CodeAttrs
Auto Trait Implementations§
impl Freeze for CodeAttrs
impl RefUnwindSafe for CodeAttrs
impl Send for CodeAttrs
impl Sync for CodeAttrs
impl Unpin for CodeAttrs
impl UnsafeUnpin for CodeAttrs
impl UnwindSafe for CodeAttrs
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.