pub struct StaticClosure(pub DynamicRoot<__DynRootable<dyn for<'__gc> Rootable<'__gc, Root = Closure<'__gc>>>>);Tuple Fields§
§0: DynamicRoot<__DynRootable<dyn for<'__gc> Rootable<'__gc, Root = Closure<'__gc>>>>Trait Implementations§
Source§impl Clone for StaticClosure
impl Clone for StaticClosure
Source§fn clone(&self) -> StaticClosure
fn clone(&self) -> StaticClosure
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 StaticClosure
impl Debug for StaticClosure
Source§impl<'gc> Fetchable<'gc> for StaticClosure
impl<'gc> Fetchable<'gc> for StaticClosure
Source§impl From<StaticClosure> for StaticFunction
impl From<StaticClosure> for StaticFunction
Source§fn from(closure: StaticClosure) -> Self
fn from(closure: StaticClosure) -> Self
Converts to this type from the input type.
Source§impl From<StaticClosure> for StaticValue
impl From<StaticClosure> for StaticValue
Source§fn from(v: StaticClosure) -> StaticValue
fn from(v: StaticClosure) -> StaticValue
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StaticClosure
impl !RefUnwindSafe for StaticClosure
impl !Send for StaticClosure
impl !Sync for StaticClosure
impl Unpin for StaticClosure
impl !UnwindSafe for StaticClosure
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