pub enum TransparencyMode {
All,
Default,
Reducible,
Instances,
None,
}Expand description
Transparency mode controls which definitions can be unfolded.
Variants§
All
All definitions can be unfolded.
Default
Default: unfold non-opaque definitions.
Reducible
Only unfold definitions marked as reducible/abbrev.
Instances
Only unfold instance definitions.
None
Never unfold anything.
Trait Implementations§
Source§impl Clone for TransparencyMode
impl Clone for TransparencyMode
impl Copy for TransparencyMode
Source§impl Debug for TransparencyMode
impl Debug for TransparencyMode
impl Eq for TransparencyMode
Source§impl Ord for TransparencyMode
impl Ord for TransparencyMode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TransparencyMode
impl PartialEq for TransparencyMode
Source§impl PartialOrd for TransparencyMode
impl PartialOrd for TransparencyMode
impl StructuralPartialEq for TransparencyMode
Auto Trait Implementations§
impl Forget for TransparencyMode
impl Freeze for TransparencyMode
impl Move for TransparencyMode
impl RefUnwindSafe for TransparencyMode
impl Send for TransparencyMode
impl Sync for TransparencyMode
impl Unpin for TransparencyMode
impl UnsafeUnpin for TransparencyMode
impl UnwindSafe for TransparencyMode
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