pub struct MediaData {
pub bytes: Vec<u8>,
pub content_type: String,
}Expand description
Media bytes available to a renderer, with their package content type.
Fields§
§bytes: Vec<u8>§content_type: StringTrait Implementations§
impl Eq for MediaData
impl StructuralPartialEq for MediaData
Auto Trait Implementations§
impl Freeze for MediaData
impl RefUnwindSafe for MediaData
impl Send for MediaData
impl Sync for MediaData
impl Unpin for MediaData
impl UnsafeUnpin for MediaData
impl UnwindSafe for MediaData
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