Enum EcsCompPacket

Source
pub enum EcsCompPacket {
Show 43 variants Body(Body), Hardcore(Hardcore), Stats(Stats), Buffs(Buffs), Auras(Auras), Energy(Energy), Health(Health), Heads(Heads), Poise(Poise), LightEmitter(LightEmitter), LootOwner(LootOwner), PickupItem(PickupItem), Scale(Scale), Group(Group), IsMount(IsMount), IsRider(IsRider), IsVolumeRider(IsVolumeRider), VolumeRiders(VolumeRiders), IsLeader(IsLeader), IsFollower(IsFollower), Mass(Mass), Density(Density), Collider(Collider), Sticky(Sticky), Immovable(Immovable), CharacterState(CharacterState), CharacterActivity(CharacterActivity), Shockwave(Shockwave), Beam(Beam), Alignment(Alignment), Stance(Stance), Object(Object), Inventory(Inventory), SkillSet(SkillSet), Admin(Admin), Combo(Combo), ActiveAbilities(ActiveAbilities), CanBuild(CanBuild), IsInteractor(IsInteractor), Interactors(Interactors), Pos(Pos), Vel(Vel), Ori(Ori),
}

Variants§

§

Body(Body)

§

Hardcore(Hardcore)

§

Stats(Stats)

§

Buffs(Buffs)

§

Auras(Auras)

§

Energy(Energy)

§

Health(Health)

§

Heads(Heads)

§

Poise(Poise)

§

LightEmitter(LightEmitter)

§

LootOwner(LootOwner)

§

PickupItem(PickupItem)

§

Scale(Scale)

§

Group(Group)

§

IsMount(IsMount)

§

IsRider(IsRider)

§

IsVolumeRider(IsVolumeRider)

§

VolumeRiders(VolumeRiders)

§

IsLeader(IsLeader)

§

IsFollower(IsFollower)

§

Mass(Mass)

§

Density(Density)

§

Collider(Collider)

§

Sticky(Sticky)

§

Immovable(Immovable)

§

CharacterState(CharacterState)

§

CharacterActivity(CharacterActivity)

§

Shockwave(Shockwave)

§

Beam(Beam)

§

Alignment(Alignment)

§

Stance(Stance)

§

Object(Object)

§

Inventory(Inventory)

§

SkillSet(SkillSet)

§

Admin(Admin)

§

Combo(Combo)

§

ActiveAbilities(ActiveAbilities)

§

CanBuild(CanBuild)

§

IsInteractor(IsInteractor)

§

Interactors(Interactors)

§

Pos(Pos)

§

Vel(Vel)

§

Ori(Ori)

Trait Implementations§

Source§

impl Clone for EcsCompPacket

Source§

fn clone(&self) -> EcsCompPacket

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 CompPacket for EcsCompPacket

Source§

type Phantom = EcsCompPhantom

Source§

fn apply_insert(self, entity: Entity, world: &World, force_update: bool)

Source§

fn apply_modify(self, entity: Entity, world: &World, force_update: bool)

Source§

fn apply_remove(phantom: Self::Phantom, entity: Entity, world: &World)

Source§

impl Debug for EcsCompPacket

Source§

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

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

impl<'de> Deserialize<'de> for EcsCompPacket

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<ActiveAbilities> for EcsCompPacket

Source§

fn from(other: ActiveAbilities) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Admin> for EcsCompPacket

Source§

fn from(other: Admin) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Alignment> for EcsCompPacket

Source§

fn from(other: Alignment) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Auras> for EcsCompPacket

Source§

fn from(other: Auras) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Beam> for EcsCompPacket

Source§

fn from(other: Beam) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Body> for EcsCompPacket

Source§

fn from(other: Body) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Buffs> for EcsCompPacket

Source§

fn from(other: Buffs) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<CanBuild> for EcsCompPacket

Source§

fn from(other: CanBuild) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<CharacterActivity> for EcsCompPacket

Source§

fn from(other: CharacterActivity) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<CharacterState> for EcsCompPacket

Source§

fn from(other: CharacterState) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Collider> for EcsCompPacket

Source§

fn from(other: Collider) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Combo> for EcsCompPacket

Source§

fn from(other: Combo) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Density> for EcsCompPacket

Source§

fn from(other: Density) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Energy> for EcsCompPacket

Source§

fn from(other: Energy) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Group> for EcsCompPacket

Source§

fn from(other: Group) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Hardcore> for EcsCompPacket

Source§

fn from(other: Hardcore) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Heads> for EcsCompPacket

Source§

fn from(other: Heads) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Health> for EcsCompPacket

Source§

fn from(other: Health) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Immovable> for EcsCompPacket

Source§

fn from(other: Immovable) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Interactors> for EcsCompPacket

Source§

fn from(other: Interactors) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Inventory> for EcsCompPacket

Source§

fn from(other: Inventory) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Is<Follower>> for EcsCompPacket

Source§

fn from(other: IsFollower) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Is<Interactor>> for EcsCompPacket

Source§

fn from(other: IsInteractor) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Is<Leader>> for EcsCompPacket

Source§

fn from(other: IsLeader) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Is<Mount>> for EcsCompPacket

Source§

fn from(other: IsMount) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Is<Rider>> for EcsCompPacket

Source§

fn from(other: IsRider) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Is<VolumeRider>> for EcsCompPacket

Source§

fn from(other: IsVolumeRider) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<LightEmitter> for EcsCompPacket

Source§

fn from(other: LightEmitter) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<LootOwner> for EcsCompPacket

Source§

fn from(other: LootOwner) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Mass> for EcsCompPacket

Source§

fn from(other: Mass) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Object> for EcsCompPacket

Source§

fn from(other: Object) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Ori> for EcsCompPacket

Source§

fn from(other: Ori) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<PickupItem> for EcsCompPacket

Source§

fn from(other: PickupItem) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Poise> for EcsCompPacket

Source§

fn from(other: Poise) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Pos> for EcsCompPacket

Source§

fn from(other: Pos) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Scale> for EcsCompPacket

Source§

fn from(other: Scale) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Shockwave> for EcsCompPacket

Source§

fn from(other: Shockwave) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<SkillSet> for EcsCompPacket

Source§

fn from(other: SkillSet) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Stance> for EcsCompPacket

Source§

fn from(other: Stance) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Stats> for EcsCompPacket

Source§

fn from(other: Stats) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Sticky> for EcsCompPacket

Source§

fn from(other: Sticky) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<Vel> for EcsCompPacket

Source§

fn from(other: Vel) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl From<VolumeRiders> for EcsCompPacket

Source§

fn from(other: VolumeRiders) -> EcsCompPacket

Converts to this type from the input type.
Source§

impl Serialize for EcsCompPacket

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 EcsCompPacket

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<EcsCompPacket> for ActiveAbilities

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Admin

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Alignment

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Auras

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Beam

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Body

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Buffs

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for CanBuild

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for CharacterActivity

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for CharacterState

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Collider

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Combo

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Density

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Energy

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Group

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Hardcore

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Heads

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Health

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Immovable

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Interactors

Source§

type Error = InvalidType

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

fn try_from(other: EcsCompPacket) -> Result<Interactors, Self::Error>

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Inventory

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for IsFollower

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for IsInteractor

Source§

type Error = InvalidType

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

fn try_from(other: EcsCompPacket) -> Result<IsInteractor, Self::Error>

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for IsLeader

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for IsMount

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for IsRider

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for IsVolumeRider

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for LightEmitter

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for LootOwner

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Mass

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Object

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Ori

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for PickupItem

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Poise

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Pos

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Scale

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Shockwave

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for SkillSet

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Stance

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Stats

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Sticky

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for Vel

Source§

type Error = InvalidType

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

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

Performs the conversion.
Source§

impl TryFrom<EcsCompPacket> for VolumeRiders

Source§

type Error = InvalidType

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

fn try_from(other: EcsCompPacket) -> Result<VolumeRiders, 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§

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

🔬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

Source§

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,

Source§

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>,

Source§

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>,

Source§

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,