pub struct ResourceRef { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for ResourceRef
impl Clone for ResourceRef
Source§impl Debug for ResourceRef
impl Debug for ResourceRef
Source§impl Default for ResourceRef
impl Default for ResourceRef
Source§impl From<ResourceRef> for ResourceRef
impl From<ResourceRef> for ResourceRef
Source§fn from(value: ResourceRef) -> Self
fn from(value: ResourceRef) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ResourceRef> for ResourceRef
impl TryFrom<ResourceRef> for ResourceRef
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ResourceRef) -> Result<Self, ConversionError>
fn try_from(value: ResourceRef) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for ResourceRef
impl Freeze for ResourceRef
impl Move for ResourceRef
impl RefUnwindSafe for ResourceRef
impl Send for ResourceRef
impl Sync for ResourceRef
impl Unpin for ResourceRef
impl UnsafeUnpin for ResourceRef
impl UnwindSafe for ResourceRef
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