#[repr(C)]pub struct AspectAddr { /* private fields */ }
Expand description
An aspect’s address, comprising of an aspect guid and an actor id
Implementations§
Source§impl AspectAddr
impl AspectAddr
Sourcepub fn new(aspect_guid: Guid, actor_id: ActorId) -> Result<Self, ErrorCode>
pub fn new(aspect_guid: Guid, actor_id: ActorId) -> Result<Self, ErrorCode>
Construct a new AspectAddr
from the given aspect guid and actor id
§Errors
Returns an ErrorCode::InvalidArguments
if the lower or higher u64
component
of the provided guid is an INVALID_GUID_COMPONENT
Trait Implementations§
Source§impl Clone for AspectAddr
impl Clone for AspectAddr
Source§fn clone(&self) -> AspectAddr
fn clone(&self) -> AspectAddr
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 AspectAddr
impl Debug for AspectAddr
Source§impl PartialEq for AspectAddr
impl PartialEq for AspectAddr
impl Copy for AspectAddr
impl Eq for AspectAddr
impl Pod for AspectAddr
impl StructuralPartialEq for AspectAddr
Auto Trait Implementations§
impl Freeze for AspectAddr
impl RefUnwindSafe for AspectAddr
impl Send for AspectAddr
impl Sync for AspectAddr
impl Unpin for AspectAddr
impl UnwindSafe for AspectAddr
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
Source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
Source§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.Source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.