pub struct Resource {
pub name: String,
pub media: String,
pub mimetype: String,
pub content: String,
pub origin: ResourceOrigin,
}Fields§
§name: String§media: String§mimetype: String§content: String§origin: ResourceOriginWho required it; under --nodefaultresources only a binding’s remote style sheet is linked (OD #1249).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Resource
impl RefUnwindSafe for Resource
impl Send for Resource
impl Sync for Resource
impl Unpin for Resource
impl UnsafeUnpin for Resource
impl UnwindSafe for Resource
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