pub enum MediaInput {
Path(String),
Bytes(Vec<u8>, String),
}Expand description
De onde ler: um caminho do disco ou os bytes (um arquivo do projeto), com a extensão.
Variants§
Trait Implementations§
Source§impl Clone for MediaInput
impl Clone for MediaInput
Auto Trait Implementations§
impl Forget for MediaInput
impl Freeze for MediaInput
impl Move for MediaInput
impl RefUnwindSafe for MediaInput
impl Send for MediaInputwhere
RawVecInner: Send,
impl Sync for MediaInputwhere
RawVecInner: Sync,
impl Unpin for MediaInput
impl UnsafeUnpin for MediaInput
impl UnwindSafe for MediaInputwhere
RawVecInner: UnwindSafe,
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