Struct ambient_guest_bridge::core::package::messages::PackageLoadSuccess
source · pub struct PackageLoadSuccess {
pub package: EntityId,
pub url: String,
}
Expand description
PackageLoadSuccess: A package has successfully loaded. Note that this may fire before all of its constituent WASM modules have loaded.
Fields§
§package: EntityId
§url: String
Implementations§
Trait Implementations§
source§impl Clone for PackageLoadSuccess
impl Clone for PackageLoadSuccess
source§fn clone(&self) -> PackageLoadSuccess
fn clone(&self) -> PackageLoadSuccess
Returns a copy 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 PackageLoadSuccess
impl Debug for PackageLoadSuccess
source§impl RuntimeMessage for PackageLoadSuccess
impl RuntimeMessage for PackageLoadSuccess
source§fn subscribe<R>(callback: impl FnMut(Self) -> R + 'static) -> Listenerwhere
R: CallbackReturn,
fn subscribe<R>(callback: impl FnMut(Self) -> R + 'static) -> Listenerwhere
R: CallbackReturn,
Subscribes to this Message. Wrapper around self::subscribe.
impl Message for PackageLoadSuccess
Auto Trait Implementations§
impl RefUnwindSafe for PackageLoadSuccess
impl Send for PackageLoadSuccess
impl Sync for PackageLoadSuccess
impl Unpin for PackageLoadSuccess
impl UnwindSafe for PackageLoadSuccess
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