Struct basic_frame::BasicExtra
source · pub struct BasicExtra {
pub host_timestamp: DateTime<Utc>,
pub host_framenumber: usize,
}
Fields§
§host_timestamp: DateTime<Utc>
timestamp from host computer
framenumber from host computer
Trait Implementations§
source§impl Clone for BasicExtra
impl Clone for BasicExtra
source§fn clone(&self) -> BasicExtra
fn clone(&self) -> BasicExtra
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 BasicExtra
impl Debug for BasicExtra
source§impl HostTimeData for BasicExtra
impl HostTimeData for BasicExtra
source§fn host_timestamp(&self) -> DateTime<Utc>
fn host_timestamp(&self) -> DateTime<Utc>
the time the image was acquired on the host machine)
the number of the image (in order)
Auto Trait Implementations§
impl Freeze for BasicExtra
impl RefUnwindSafe for BasicExtra
impl Send for BasicExtra
impl Sync for BasicExtra
impl Unpin for BasicExtra
impl UnwindSafe for BasicExtra
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> 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 more