#[repr(transparent)]pub struct OnlyLowerExp<T: LowerExp>(pub T);Expand description
Only implements the LowerExp formatting trait despite any other trait being implemented on T.
Tuple Fields§
§0: TImplementations§
Source§impl<T: LowerExp> OnlyLowerExp<T>
impl<T: LowerExp> OnlyLowerExp<T>
Sourcepub fn into_inner(self) -> T
pub fn into_inner(self) -> T
Consumes the adapter and returns the wrapped value.
Trait Implementations§
Source§impl<T: LowerExp> From<T> for OnlyLowerExp<T>
impl<T: LowerExp> From<T> for OnlyLowerExp<T>
Auto Trait Implementations§
impl<T> Freeze for OnlyLowerExp<T>where
T: Freeze,
impl<T> RefUnwindSafe for OnlyLowerExp<T>where
T: RefUnwindSafe,
impl<T> Send for OnlyLowerExp<T>where
T: Send,
impl<T> Sync for OnlyLowerExp<T>where
T: Sync,
impl<T> Unpin for OnlyLowerExp<T>where
T: Unpin,
impl<T> UnsafeUnpin for OnlyLowerExp<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for OnlyLowerExp<T>where
T: UnwindSafe,
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