pub enum SubtitlePacketData {
SharedRange {
start: usize,
end: usize,
},
Owned(Vec<u8>),
}Variants§
Trait Implementations§
Source§impl Clone for SubtitlePacketData
impl Clone for SubtitlePacketData
Source§fn clone(&self) -> SubtitlePacketData
fn clone(&self) -> SubtitlePacketData
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 moreAuto Trait Implementations§
impl Freeze for SubtitlePacketData
impl RefUnwindSafe for SubtitlePacketData
impl Send for SubtitlePacketData
impl Sync for SubtitlePacketData
impl Unpin for SubtitlePacketData
impl UnsafeUnpin for SubtitlePacketData
impl UnwindSafe for SubtitlePacketData
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