pub enum PtsDelta<'a, T: SafLogValue> {
Added(&'a [T]),
Removed(&'a [T]),
}Expand description
A set delta rendered as +{a,b} (added) or -{a,b} (removed).
Variants§
Trait Implementations§
Source§impl<T: SafLogValue> SafLogValue for PtsDelta<'_, T>
impl<T: SafLogValue> SafLogValue for PtsDelta<'_, 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 PtsDelta<'a, T>
impl<'a, T> RefUnwindSafe for PtsDelta<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for PtsDelta<'a, T>where
T: Sync,
impl<'a, T> Sync for PtsDelta<'a, T>where
T: Sync,
impl<'a, T> Unpin for PtsDelta<'a, T>
impl<'a, T> UnsafeUnpin for PtsDelta<'a, T>
impl<'a, T> UnwindSafe for PtsDelta<'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