#[repr(transparent)]pub struct OnlyUpperExp<T: UpperExp>(pub T);Expand description
Only implements the UpperExp formatting trait despite any other trait being implemented on T.
Tuple Fields§
§0: TImplementations§
Source§impl<T: UpperExp> OnlyUpperExp<T>
impl<T: UpperExp> OnlyUpperExp<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: UpperExp> From<T> for OnlyUpperExp<T>
impl<T: UpperExp> From<T> for OnlyUpperExp<T>
Auto Trait Implementations§
impl<T> Freeze for OnlyUpperExp<T>where
T: Freeze,
impl<T> RefUnwindSafe for OnlyUpperExp<T>where
T: RefUnwindSafe,
impl<T> Send for OnlyUpperExp<T>where
T: Send,
impl<T> Sync for OnlyUpperExp<T>where
T: Sync,
impl<T> Unpin for OnlyUpperExp<T>where
T: Unpin,
impl<T> UnsafeUnpin for OnlyUpperExp<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for OnlyUpperExp<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