pub struct SafPair<'a, T: SafLogValue>(pub &'a T, pub &'a T);Expand description
A directed pair rendered as a->b.
Tuple Fields§
§0: &'a T§1: &'a TTrait Implementations§
Source§impl<T: SafLogValue> SafLogValue for SafPair<'_, T>
impl<T: SafLogValue> SafLogValue for SafPair<'_, T>
Source§fn fmt_saf_log(&self, buf: &mut String)
fn fmt_saf_log(&self, buf: &mut String)
Append the DSL-formatted representation to
buf.Source§fn to_saf_log(&self) -> String
fn to_saf_log(&self) -> String
Convenience: format to a new
String.Auto Trait Implementations§
impl<'a, T> Freeze for SafPair<'a, T>
impl<'a, T> RefUnwindSafe for SafPair<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for SafPair<'a, T>where
T: Sync,
impl<'a, T> Sync for SafPair<'a, T>where
T: Sync,
impl<'a, T> Unpin for SafPair<'a, T>
impl<'a, T> UnsafeUnpin for SafPair<'a, T>
impl<'a, T> UnwindSafe for SafPair<'a, T>where
T: RefUnwindSafe,
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