pub struct VirtualFile { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Build for VirtualFile
impl Build for VirtualFile
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.Source§impl Debug for VirtualFile
impl Debug for VirtualFile
Source§impl PartialEq for VirtualFile
impl PartialEq for VirtualFile
Auto Trait Implementations§
impl Freeze for VirtualFile
impl RefUnwindSafe for VirtualFile
impl Send for VirtualFile
impl Sync for VirtualFile
impl Unpin for VirtualFile
impl UnwindSafe for VirtualFile
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