pub struct CopyFile { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Build for CopyFile
impl Build for CopyFile
Source§fn as_any(&self) -> &dyn Any
fn as_any(&self) -> &dyn Any
Returns a reference to the resource as
dyn Any.
Must be implemented for a concrete type as a defualt implementation
suffers from type erasure.Source§fn equals(&self, other: Rc<RefCell<dyn Build>>) -> bool
fn equals(&self, other: Rc<RefCell<dyn Build>>) -> bool
Returns true if the resource is equal to the other resource.
Used to determine if the resource has already been registered.
Generally this should return false unless
other can be downcast to
Self.Auto Trait Implementations§
impl Freeze for CopyFile
impl RefUnwindSafe for CopyFile
impl Send for CopyFile
impl Sync for CopyFile
impl Unpin for CopyFile
impl UnwindSafe for CopyFile
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