Struct rml_rtmp::time::RtmpTimestamp
source · pub struct RtmpTimestamp {
pub value: u32,
}
Expand description
The representation of a RTMP timestamp
Fields§
§value: u32
The time (as milliseconds from an unknown epoch) being represented by the timestamp
Implementations§
Trait Implementations§
source§impl Add<RtmpTimestamp> for RtmpTimestamp
impl Add<RtmpTimestamp> for RtmpTimestamp
§type Output = RtmpTimestamp
type Output = RtmpTimestamp
The resulting type after applying the
+
operator.source§fn add(self, other: RtmpTimestamp) -> Self
fn add(self, other: RtmpTimestamp) -> Self
Performs the
+
operation. Read moresource§impl Add<u32> for RtmpTimestamp
impl Add<u32> for RtmpTimestamp
source§impl Clone for RtmpTimestamp
impl Clone for RtmpTimestamp
source§fn clone(&self) -> RtmpTimestamp
fn clone(&self) -> RtmpTimestamp
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 RtmpTimestamp
impl Debug for RtmpTimestamp
source§impl Ord for RtmpTimestamp
impl Ord for RtmpTimestamp
source§impl PartialEq<RtmpTimestamp> for RtmpTimestamp
impl PartialEq<RtmpTimestamp> for RtmpTimestamp
source§fn eq(&self, other: &RtmpTimestamp) -> bool
fn eq(&self, other: &RtmpTimestamp) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<RtmpTimestamp> for u32
impl PartialEq<RtmpTimestamp> for u32
source§fn eq(&self, other: &RtmpTimestamp) -> bool
fn eq(&self, other: &RtmpTimestamp) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<u32> for RtmpTimestamp
impl PartialEq<u32> for RtmpTimestamp
source§impl PartialOrd<RtmpTimestamp> for RtmpTimestamp
impl PartialOrd<RtmpTimestamp> for RtmpTimestamp
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl PartialOrd<RtmpTimestamp> for u32
impl PartialOrd<RtmpTimestamp> for u32
source§fn partial_cmp(&self, other: &RtmpTimestamp) -> Option<Ordering>
fn partial_cmp(&self, other: &RtmpTimestamp) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl PartialOrd<u32> for RtmpTimestamp
impl PartialOrd<u32> for RtmpTimestamp
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Sub<RtmpTimestamp> for RtmpTimestamp
impl Sub<RtmpTimestamp> for RtmpTimestamp
§type Output = RtmpTimestamp
type Output = RtmpTimestamp
The resulting type after applying the
-
operator.source§fn sub(self, other: RtmpTimestamp) -> Self
fn sub(self, other: RtmpTimestamp) -> Self
Performs the
-
operation. Read moresource§impl Sub<u32> for RtmpTimestamp
impl Sub<u32> for RtmpTimestamp
impl Copy for RtmpTimestamp
impl Eq for RtmpTimestamp
impl StructuralEq for RtmpTimestamp
impl StructuralPartialEq for RtmpTimestamp
Auto Trait Implementations§
impl RefUnwindSafe for RtmpTimestamp
impl Send for RtmpTimestamp
impl Sync for RtmpTimestamp
impl Unpin for RtmpTimestamp
impl UnwindSafe for RtmpTimestamp
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