pub struct InlineCode<T>(/* private fields */);
Expand description
Formats an inline piece of code. Can be created with inline_code
.
Trait Implementations§
Source§impl<T: Clone> Clone for InlineCode<T>
impl<T: Clone> Clone for InlineCode<T>
Source§fn clone(&self) -> InlineCode<T>
fn clone(&self) -> InlineCode<T>
Returns a copy 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<T: Debug> Debug for InlineCode<T>
impl<T: Debug> Debug for InlineCode<T>
Source§impl<I, T> Formattable for InlineCode<I>
impl<I, T> Formattable for InlineCode<I>
Source§impl<T: Hash> Hash for InlineCode<T>
impl<T: Hash> Hash for InlineCode<T>
Source§impl<T: PartialEq> PartialEq for InlineCode<T>
impl<T: PartialEq> PartialEq for InlineCode<T>
impl<T: Copy> Copy for InlineCode<T>
impl<T: Eq> Eq for InlineCode<T>
impl<I, T> Formattable for InlineCode<I>
impl<T> StructuralPartialEq for InlineCode<T>
Auto Trait Implementations§
impl<T> Freeze for InlineCode<T>where
T: Freeze,
impl<T> RefUnwindSafe for InlineCode<T>where
T: RefUnwindSafe,
impl<T> Send for InlineCode<T>where
T: Send,
impl<T> Sync for InlineCode<T>where
T: Sync,
impl<T> Unpin for InlineCode<T>where
T: Unpin,
impl<T> UnwindSafe for InlineCode<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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.