Struct specs::FetchIdMut
[−]
[src]
pub struct FetchIdMut<'a> { /* fields omitted */ }
Return value of Resources::fetch_id_mut
.
Methods from Deref<Target = Resource + 'static>
fn is<T>(&self) -> bool where
T: Resource,
T: Resource,
Returns true if the boxed type is the same as T
fn downcast_ref<T>(&self) -> Option<&T> where
T: Resource,
T: Resource,
Returns some reference to the boxed value if it is of type T
, or
None
if it isn't.
unsafe fn downcast_ref_unchecked<T>(&self) -> &T where
T: Resource,
T: Resource,
Returns a reference to the boxed value, blindly assuming it to be of type T
.
If you are not absolutely certain of T
, you must not call this.
fn downcast_mut<T>(&mut self) -> Option<&mut T> where
T: Resource,
T: Resource,
Returns some mutable reference to the boxed value if it is of type T
, or
None
if it isn't.
unsafe fn downcast_mut_unchecked<T>(&mut self) -> &mut T where
T: Resource,
T: Resource,
Returns a mutable reference to the boxed value, blindly assuming it to be of type T
.
If you are not absolutely certain of T
, you must not call this.
Trait Implementations
impl<'a> DerefMut for FetchIdMut<'a>
[src]
fn deref_mut(&mut self) -> &mut (Resource + 'static)
The method called to mutably dereference a value