Enum veloren_common_net::msg::ecs_packet::EcsCompPhantom

source ·
pub enum EcsCompPhantom {
Show 40 variants Body(PhantomData<Body>), Hardcore(PhantomData<Hardcore>), Stats(PhantomData<Stats>), Buffs(PhantomData<Buffs>), Auras(PhantomData<Auras>), Energy(PhantomData<Energy>), Health(PhantomData<Health>), Heads(PhantomData<Heads>), Poise(PhantomData<Poise>), LightEmitter(PhantomData<LightEmitter>), LootOwner(PhantomData<LootOwner>), PickupItem(PhantomData<PickupItem>), Scale(PhantomData<Scale>), Group(PhantomData<Group>), IsMount(PhantomData<IsMount>), IsRider(PhantomData<IsRider>), IsVolumeRider(PhantomData<IsVolumeRider>), IsLeader(PhantomData<IsLeader>), IsFollower(PhantomData<IsFollower>), Mass(PhantomData<Mass>), Density(PhantomData<Density>), Collider(PhantomData<Collider>), Sticky(PhantomData<Sticky>), Immovable(PhantomData<Immovable>), CharacterState(PhantomData<CharacterState>), CharacterActivity(PhantomData<CharacterActivity>), Shockwave(PhantomData<Shockwave>), Beam(PhantomData<Beam>), Alignment(PhantomData<Alignment>), Stance(PhantomData<Stance>), Inventory(PhantomData<Inventory>), SkillSet(PhantomData<SkillSet>), Admin(PhantomData<Admin>), Combo(PhantomData<Combo>), ActiveAbilities(PhantomData<ActiveAbilities>), CanBuild(PhantomData<CanBuild>), Object(PhantomData<Object>), Pos(PhantomData<Pos>), Vel(PhantomData<Vel>), Ori(PhantomData<Ori>),
}

Variants§

Trait Implementations§

source§

impl Clone for EcsCompPhantom

source§

fn clone(&self) -> EcsCompPhantom

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for EcsCompPhantom

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for EcsCompPhantom

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl From<PhantomData<ActiveAbilities>> for EcsCompPhantom

source§

fn from(other: PhantomData<ActiveAbilities>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Admin>> for EcsCompPhantom

source§

fn from(other: PhantomData<Admin>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Alignment>> for EcsCompPhantom

source§

fn from(other: PhantomData<Alignment>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Auras>> for EcsCompPhantom

source§

fn from(other: PhantomData<Auras>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Beam>> for EcsCompPhantom

source§

fn from(other: PhantomData<Beam>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Body>> for EcsCompPhantom

source§

fn from(other: PhantomData<Body>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Buffs>> for EcsCompPhantom

source§

fn from(other: PhantomData<Buffs>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<CanBuild>> for EcsCompPhantom

source§

fn from(other: PhantomData<CanBuild>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<CharacterActivity>> for EcsCompPhantom

source§

fn from(other: PhantomData<CharacterActivity>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<CharacterState>> for EcsCompPhantom

source§

fn from(other: PhantomData<CharacterState>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Collider>> for EcsCompPhantom

source§

fn from(other: PhantomData<Collider>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Combo>> for EcsCompPhantom

source§

fn from(other: PhantomData<Combo>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Density>> for EcsCompPhantom

source§

fn from(other: PhantomData<Density>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Energy>> for EcsCompPhantom

source§

fn from(other: PhantomData<Energy>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Group>> for EcsCompPhantom

source§

fn from(other: PhantomData<Group>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Hardcore>> for EcsCompPhantom

source§

fn from(other: PhantomData<Hardcore>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Heads>> for EcsCompPhantom

source§

fn from(other: PhantomData<Heads>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Health>> for EcsCompPhantom

source§

fn from(other: PhantomData<Health>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Immovable>> for EcsCompPhantom

source§

fn from(other: PhantomData<Immovable>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Inventory>> for EcsCompPhantom

source§

fn from(other: PhantomData<Inventory>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Is<Follower>>> for EcsCompPhantom

source§

fn from(other: PhantomData<IsFollower>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Is<Leader>>> for EcsCompPhantom

source§

fn from(other: PhantomData<IsLeader>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Is<Mount>>> for EcsCompPhantom

source§

fn from(other: PhantomData<IsMount>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Is<Rider>>> for EcsCompPhantom

source§

fn from(other: PhantomData<IsRider>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Is<VolumeRider>>> for EcsCompPhantom

source§

fn from(other: PhantomData<IsVolumeRider>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<LightEmitter>> for EcsCompPhantom

source§

fn from(other: PhantomData<LightEmitter>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<LootOwner>> for EcsCompPhantom

source§

fn from(other: PhantomData<LootOwner>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Mass>> for EcsCompPhantom

source§

fn from(other: PhantomData<Mass>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Object>> for EcsCompPhantom

source§

fn from(other: PhantomData<Object>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Ori>> for EcsCompPhantom

source§

fn from(other: PhantomData<Ori>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<PickupItem>> for EcsCompPhantom

source§

fn from(other: PhantomData<PickupItem>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Poise>> for EcsCompPhantom

source§

fn from(other: PhantomData<Poise>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Pos>> for EcsCompPhantom

source§

fn from(other: PhantomData<Pos>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Scale>> for EcsCompPhantom

source§

fn from(other: PhantomData<Scale>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Shockwave>> for EcsCompPhantom

source§

fn from(other: PhantomData<Shockwave>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<SkillSet>> for EcsCompPhantom

source§

fn from(other: PhantomData<SkillSet>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Stance>> for EcsCompPhantom

source§

fn from(other: PhantomData<Stance>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Stats>> for EcsCompPhantom

source§

fn from(other: PhantomData<Stats>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Sticky>> for EcsCompPhantom

source§

fn from(other: PhantomData<Sticky>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl From<PhantomData<Vel>> for EcsCompPhantom

source§

fn from(other: PhantomData<Vel>) -> EcsCompPhantom

Converts to this type from the input type.
source§

impl Serialize for EcsCompPhantom

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl SumType for EcsCompPhantom

source§

fn variants(&self) -> &'static [&'static str]

A list of all possible variants.
source§

fn variant(&self) -> &'static str

The name of the current variant.
source§

fn downcast_ref<T: Any>(&self) -> Option<&T>

Try to get a reference to the inner field if it is a T.
source§

fn downcast_mut<T: Any>(&mut self) -> Option<&mut T>

Return a mutable reference to the inner field if it is a T.
source§

fn variant_is<T: Any>(&self) -> bool

Is the underlying variant an instance of T?
source§

impl TryFrom<EcsCompPhantom> for PhantomData<ActiveAbilities>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from( other: EcsCompPhantom, ) -> Result<PhantomData<ActiveAbilities>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Admin>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Admin>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Alignment>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from( other: EcsCompPhantom, ) -> Result<PhantomData<Alignment>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Auras>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Auras>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Beam>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Beam>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Body>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Body>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Buffs>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Buffs>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<CanBuild>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<CanBuild>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<CharacterActivity>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from( other: EcsCompPhantom, ) -> Result<PhantomData<CharacterActivity>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<CharacterState>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from( other: EcsCompPhantom, ) -> Result<PhantomData<CharacterState>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Collider>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Collider>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Combo>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Combo>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Density>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Density>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Energy>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Energy>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Group>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Group>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Hardcore>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Hardcore>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Heads>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Heads>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Health>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Health>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Immovable>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from( other: EcsCompPhantom, ) -> Result<PhantomData<Immovable>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Inventory>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from( other: EcsCompPhantom, ) -> Result<PhantomData<Inventory>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<IsFollower>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from( other: EcsCompPhantom, ) -> Result<PhantomData<IsFollower>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<IsLeader>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<IsLeader>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<IsMount>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<IsMount>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<IsRider>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<IsRider>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<IsVolumeRider>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from( other: EcsCompPhantom, ) -> Result<PhantomData<IsVolumeRider>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<LightEmitter>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from( other: EcsCompPhantom, ) -> Result<PhantomData<LightEmitter>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<LootOwner>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from( other: EcsCompPhantom, ) -> Result<PhantomData<LootOwner>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Mass>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Mass>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Object>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Object>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Ori>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Ori>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<PickupItem>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from( other: EcsCompPhantom, ) -> Result<PhantomData<PickupItem>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Poise>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Poise>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Pos>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Pos>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Scale>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Scale>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Shockwave>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from( other: EcsCompPhantom, ) -> Result<PhantomData<Shockwave>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<SkillSet>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<SkillSet>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Stance>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Stance>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Stats>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Stats>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Sticky>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Sticky>, Self::Error>

Performs the conversion.
source§

impl TryFrom<EcsCompPhantom> for PhantomData<Vel>

§

type Error = InvalidType

The type returned in the event of a conversion error.
source§

fn try_from(other: EcsCompPhantom) -> Result<PhantomData<Vel>, Self::Error>

Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
§

impl<C, M> ConvertSaveload<M> for C

§

type Data = C

(De)Serializable data representation for data type
§

type Error = Infallible

Error may occur during serialization or deserialization of component
§

fn convert_into<F>( &self, _: F, ) -> Result<<C as ConvertSaveload<M>>::Data, <C as ConvertSaveload<M>>::Error>
where F: FnMut(Entity) -> Option<M>,

Convert this data type into serializable form (Data) using entity to marker mapping function
§

fn convert_from<F>( data: <C as ConvertSaveload<M>>::Data, _: F, ) -> Result<C, <C as ConvertSaveload<M>>::Error>
where F: FnMut(M) -> Option<Entity>,

Convert this data from a deserializable form (Data) using entity to marker mapping function
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
§

impl<T> Pointable for T

§

const ALIGN: usize = _

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
§

impl<Context> SubContext<Context> for Context

§

fn sub_context(self) -> Context

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

§

impl<T> Event for T
where T: Send + Sync + 'static,

§

impl<T> Resource for T
where T: Any + Send + Sync,

§

impl<T> Storable for T
where T: Send + Sync + 'static,