pub struct MediaClockId {
pub src: bool,
pub tag: String,
}Expand description
Media clock ID with optional source prefix.
Fields§
§src: bool§tag: StringImplementations§
Source§impl MediaClockId
impl MediaClockId
Sourcepub fn new(tag: impl ToString) -> Self
pub fn new(tag: impl ToString) -> Self
Constructs a MediaClockId with the specified tag and without the ‘src’ prefix.
Sourcepub fn new_with_src_prefix(tag: impl ToString) -> Self
pub fn new_with_src_prefix(tag: impl ToString) -> Self
Constructs a MediaClockId with the specified tag and with the ‘src’ prefix.
pub fn set_src_prefix(&mut self, src: bool)
Trait Implementations§
Source§impl Clone for MediaClockId
impl Clone for MediaClockId
Source§fn clone(&self) -> MediaClockId
fn clone(&self) -> MediaClockId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MediaClockId
impl Debug for MediaClockId
Source§impl Display for MediaClockId
impl Display for MediaClockId
impl Eq for MediaClockId
Source§impl FromStr for MediaClockId
impl FromStr for MediaClockId
Source§impl PartialEq for MediaClockId
impl PartialEq for MediaClockId
impl StructuralPartialEq for MediaClockId
Auto Trait Implementations§
impl Freeze for MediaClockId
impl RefUnwindSafe for MediaClockId
impl Send for MediaClockId
impl Sync for MediaClockId
impl Unpin for MediaClockId
impl UnsafeUnpin for MediaClockId
impl UnwindSafe for MediaClockId
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