pub enum VideoSource {
InMemory(Rc<Vec<u8>>),
Network(String),
Filesystem(String),
}Variants§
Trait Implementations§
Source§impl Clone for VideoSource
impl Clone for VideoSource
Source§fn clone(&self) -> VideoSource
fn clone(&self) -> VideoSource
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 VideoSource
impl Debug for VideoSource
Source§impl PartialEq for VideoSource
impl PartialEq for VideoSource
Source§fn eq(&self, other: &VideoSource) -> bool
fn eq(&self, other: &VideoSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VideoSource
Auto Trait Implementations§
impl !Send for VideoSource
impl !Sync for VideoSource
impl Freeze for VideoSource
impl RefUnwindSafe for VideoSource
impl Unpin for VideoSource
impl UnsafeUnpin for VideoSource
impl UnwindSafe for VideoSource
Blanket Implementations§
Source§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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