pub struct TrackerHit {
pub row: u8,
pub module: u8,
pub channel: u8,
pub adc: u16,
pub asic_event_code: u8,
}
Fields§
§row: u8
§module: u8
§channel: u8
§adc: u16
§asic_event_code: u8
Implementations§
Source§impl TrackerHit
impl TrackerHit
pub fn new() -> Self
pub fn from_bytestream( stream: &Vec<u8>, pos: &mut usize, ) -> Result<Self, SerializationError>
Trait Implementations§
Source§impl Clone for TrackerHit
impl Clone for TrackerHit
Source§fn clone(&self) -> TrackerHit
fn clone(&self) -> TrackerHit
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 Debug for TrackerHit
impl Debug for TrackerHit
Source§impl Display for TrackerHit
impl Display for TrackerHit
impl Copy for TrackerHit
Auto Trait Implementations§
impl Freeze for TrackerHit
impl RefUnwindSafe for TrackerHit
impl Send for TrackerHit
impl Sync for TrackerHit
impl Unpin for TrackerHit
impl UnwindSafe for TrackerHit
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self
to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self
to an expression for Diesel’s query builder. Read more