pub struct ActorHandle(/* private fields */);
Expand description
Strongly-typed handle to an object.
Use get
or as_ref
to access the underlying object.
Implementations§
Source§impl ActorHandle
impl ActorHandle
Sourcepub const fn from_handle(handle: BSUntypedPointerHandle) -> Self
pub const fn from_handle(handle: BSUntypedPointerHandle) -> Self
Creates a typed handle from an untyped handle.
Trait Implementations§
Source§impl Clone for ActorHandle
impl Clone for ActorHandle
Source§fn clone(&self) -> ActorHandle
fn clone(&self) -> ActorHandle
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 ActorHandle
impl Debug for ActorHandle
Source§impl Default for ActorHandle
impl Default for ActorHandle
Source§fn default() -> ActorHandle
fn default() -> ActorHandle
Returns the “default value” for a type. Read more
Source§impl From<ActorHandle> for BSPointerHandle<Actor>
impl From<ActorHandle> for BSPointerHandle<Actor>
Source§fn from(wrapper: ActorHandle) -> Self
fn from(wrapper: ActorHandle) -> Self
Converts to this type from the input type.
Source§impl From<BSPointerHandle<Actor>> for ActorHandle
impl From<BSPointerHandle<Actor>> for ActorHandle
Source§fn from(inner: BSPointerHandle<Actor>) -> Self
fn from(inner: BSPointerHandle<Actor>) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ActorHandle
impl PartialEq for ActorHandle
impl StructuralPartialEq for ActorHandle
impl Zeroable for ActorHandle
Auto Trait Implementations§
impl Freeze for ActorHandle
impl RefUnwindSafe for ActorHandle
impl !Send for ActorHandle
impl !Sync for ActorHandle
impl Unpin for ActorHandle
impl UnwindSafe for ActorHandle
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