pub struct VecSink<T: Clone + Display> {
pub records: Vec<(u32, u32, T)>,
}
Fields§
§records: Vec<(u32, u32, T)>
Implementations§
Trait Implementations§
Source§impl<T: Clone + Display> DescriptionSink<T> for VecSink<T>
impl<T: Clone + Display> DescriptionSink<T> for VecSink<T>
Source§fn record(&mut self, start: u32, end: u32, description: T)
fn record(&mut self, start: u32, end: u32, description: T)
inform this
DescriptionSink
of a description
that was informed by bits start
to
end
from the start of an instruction’s decoding. start
and end
are only relative the
instruction being decoded when this sink DescriptionSink
provided, so they will have no
relation to the position in an underlying data stream used for past or future instructions.Auto Trait Implementations§
impl<T> Freeze for VecSink<T>
impl<T> RefUnwindSafe for VecSink<T>where
T: RefUnwindSafe,
impl<T> Send for VecSink<T>where
T: Send,
impl<T> Sync for VecSink<T>where
T: Sync,
impl<T> Unpin for VecSink<T>where
T: Unpin,
impl<T> UnwindSafe for VecSink<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