pub struct ResourceFile {
pub name: &'static str,
pub content: &'static str,
}Fields§
§name: &'static str§content: &'static strTrait Implementations§
Source§impl Clone for ResourceFile
impl Clone for ResourceFile
Source§fn clone(&self) -> ResourceFile
fn clone(&self) -> ResourceFile
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 moreimpl Copy for ResourceFile
Auto Trait Implementations§
impl Freeze for ResourceFile
impl RefUnwindSafe for ResourceFile
impl Send for ResourceFile
impl Sync for ResourceFile
impl Unpin for ResourceFile
impl UnwindSafe for ResourceFile
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