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
Source§fn clone(&self) -> TransparencyMode
fn clone(&self) -> TransparencyMode
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 TransparencyMode
impl Debug for TransparencyMode
Source§impl Ord for TransparencyMode
impl Ord for TransparencyMode
Source§fn cmp(&self, other: &TransparencyMode) -> Ordering
fn cmp(&self, other: &TransparencyMode) -> Ordering
1.21.0 · 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
Source§impl PartialEq for TransparencyMode
impl PartialEq for TransparencyMode
Source§impl PartialOrd for TransparencyMode
impl PartialOrd for TransparencyMode
impl Copy for TransparencyMode
impl Eq for TransparencyMode
impl StructuralPartialEq for TransparencyMode
Auto Trait Implementations§
impl Freeze 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