pub struct StaticCallback(pub DynamicRoot<__DynRootable<dyn for<'__gc> Rootable<'__gc, Root = AnyCallback<'__gc>>>>);Tuple Fields§
§0: DynamicRoot<__DynRootable<dyn for<'__gc> Rootable<'__gc, Root = AnyCallback<'__gc>>>>Trait Implementations§
Source§impl Clone for StaticCallback
impl Clone for StaticCallback
Source§fn clone(&self) -> StaticCallback
fn clone(&self) -> StaticCallback
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StaticCallback
impl Debug for StaticCallback
Source§impl<'gc> Fetchable<'gc> for StaticCallback
impl<'gc> Fetchable<'gc> for StaticCallback
type Fetched = AnyCallback<'gc>
fn fetch(&self, roots: &DynamicRootSet<'gc>) -> Self::Fetched
Source§impl From<StaticCallback> for StaticFunction
impl From<StaticCallback> for StaticFunction
Source§fn from(callback: StaticCallback) -> Self
fn from(callback: StaticCallback) -> Self
Converts to this type from the input type.
Source§impl From<StaticCallback> for StaticValue
impl From<StaticCallback> for StaticValue
Source§fn from(v: StaticCallback) -> StaticValue
fn from(v: StaticCallback) -> StaticValue
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StaticCallback
impl !RefUnwindSafe for StaticCallback
impl !Send for StaticCallback
impl !Sync for StaticCallback
impl Unpin for StaticCallback
impl !UnwindSafe for StaticCallback
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