pub struct Tombstone(_);
Implementations
Trait Implementations
sourceimpl FromExpectedType<Reference> for Tombstone
impl FromExpectedType<Reference> for Tombstone
fn from_expected_type(reference: Reference) -> Result<Self, ConversionError>
sourceimpl HasStore for Tombstone
impl HasStore for Tombstone
fn store_capacity(&self) -> u32
fn store_total(&self) -> u32
fn store_types(&self) -> Vec<ResourceType>
fn store_of(&self, ty: ResourceType) -> u32
fn energy(&self) -> u32
sourceimpl InstanceOf for Tombstone
impl InstanceOf for Tombstone
sourcefn instance_of(reference: &Reference) -> bool
fn instance_of(reference: &Reference) -> bool
Checks whenever a given Reference if of type
Self
.sourceimpl ReferenceType for Tombstone
impl ReferenceType for Tombstone
sourceunsafe fn from_reference_unchecked(reference: Reference) -> Self
unsafe fn from_reference_unchecked(reference: Reference) -> Self
Converts a given reference into a concrete reference-like wrapper.
Doesn’t do any type checking; highly unsafe to use! Read more
impl Eq for Tombstone
impl JsSerialize for Tombstone
impl Withdrawable for Tombstone
Auto Trait Implementations
impl RefUnwindSafe for Tombstone
impl Send for Tombstone
impl Sync for Tombstone
impl Unpin for Tombstone
impl UnwindSafe for Tombstone
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> FromExpectedType<Value> for Twhere
T: FromExpectedType<Reference>,
impl<T> FromExpectedType<Value> for Twhere
T: FromExpectedType<Reference>,
fn from_expected_type(v: Value) -> Result<T, ConversionError>
sourceimpl<T> HasPosition for Twhere
T: RoomObjectProperties,
impl<T> HasPosition for Twhere
T: RoomObjectProperties,
fn pos(&self) -> RoomPosition
sourceimpl<T, U> IntoExpectedType<U> for Twhere
U: FromExpectedType<T>,
impl<T, U> IntoExpectedType<U> for Twhere
U: FromExpectedType<T>,
sourcefn into_expected_type(self) -> Result<U, ConversionError>
fn into_expected_type(self) -> Result<U, ConversionError>
Casts this value as the target type, making the assumption that the types are correct. Read more