pub struct CompanionFile {
pub name: &'static str,
pub contents: &'static str,
}Fields§
§name: &'static str§contents: &'static strTrait Implementations§
Source§impl Clone for CompanionFile
impl Clone for CompanionFile
Source§fn clone(&self) -> CompanionFile
fn clone(&self) -> CompanionFile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CompanionFile
Auto Trait Implementations§
impl Freeze for CompanionFile
impl RefUnwindSafe for CompanionFile
impl Send for CompanionFile
impl Sync for CompanionFile
impl Unpin for CompanionFile
impl UnsafeUnpin for CompanionFile
impl UnwindSafe for CompanionFile
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