pub struct SigItem {
pub doc: Doc,
pub kind: SigKind,
}Fields§
§doc: Doc§kind: SigKindTrait Implementations§
Source§impl PartialOrd for SigItem
impl PartialOrd for SigItem
Source§impl PrettyDisplay for SigItem
impl PrettyDisplay for SigItem
Source§fn fmt_pretty_inner(&self, buf: &mut PrettyBuf) -> Result
fn fmt_pretty_inner(&self, buf: &mut PrettyBuf) -> Result
Do the actual pretty print. This should not be called directly, it will
be called by fmt_pretty when we know it can’t fit on a single line.
Source§fn fmt_pretty(&self, buf: &mut PrettyBuf) -> Result
fn fmt_pretty(&self, buf: &mut PrettyBuf) -> Result
This is the user facing fmt method, it will first try to format the
expression on a single line, and if that is impossible it will call the
pretty printer.
impl StructuralPartialEq for SigItem
Auto Trait Implementations§
impl Freeze for SigItem
impl !RefUnwindSafe for SigItem
impl Send for SigItem
impl Sync for SigItem
impl Unpin for SigItem
impl !UnwindSafe for SigItem
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more