pub struct SMIPackage {
pub filename: String,
pub types: Vec<MimeTypeRecord>,
}
Expand description
A single package within the shared mime database.
Fields§
§filename: String
§types: Vec<MimeTypeRecord>
Trait Implementations§
Source§impl Clone for SMIPackage
impl Clone for SMIPackage
Source§fn clone(&self) -> SMIPackage
fn clone(&self) -> SMIPackage
Returns a duplicate of the value. Read more
1.0.0 · 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 SMIPackage
impl Debug for SMIPackage
Auto Trait Implementations§
impl Freeze for SMIPackage
impl RefUnwindSafe for SMIPackage
impl Send for SMIPackage
impl Sync for SMIPackage
impl Unpin for SMIPackage
impl UnwindSafe for SMIPackage
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