pub struct HydrationPlayerV2 { /* private fields */ }Expand description
Declared-to-concrete authority for one hydrated role-player occurrence.
Implementations§
Source§impl HydrationPlayerV2
impl HydrationPlayerV2
Sourcepub const fn new(
declared_descriptor: TypeId,
concrete_descriptors: Vec<TypeId>,
) -> Self
pub const fn new( declared_descriptor: TypeId, concrete_descriptors: Vec<TypeId>, ) -> Self
Construct one closed player compatibility projection.
Sourcepub const fn declared_descriptor(&self) -> &TypeId
pub const fn declared_descriptor(&self) -> &TypeId
Return the descriptor carried by the graph reference.
Sourcepub fn concrete_descriptors(&self) -> &[TypeId]
pub fn concrete_descriptors(&self) -> &[TypeId]
Return every concrete descriptor admitted under the declaration.
Trait Implementations§
Source§impl Clone for HydrationPlayerV2
impl Clone for HydrationPlayerV2
Source§fn clone(&self) -> HydrationPlayerV2
fn clone(&self) -> HydrationPlayerV2
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HydrationPlayerV2
impl Debug for HydrationPlayerV2
Source§impl<'de> Deserialize<'de> for HydrationPlayerV2
impl<'de> Deserialize<'de> for HydrationPlayerV2
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HydrationPlayerV2
Source§impl PartialEq for HydrationPlayerV2
impl PartialEq for HydrationPlayerV2
Source§impl Serialize for HydrationPlayerV2
impl Serialize for HydrationPlayerV2
impl StructuralPartialEq for HydrationPlayerV2
Auto Trait Implementations§
impl Freeze for HydrationPlayerV2
impl RefUnwindSafe for HydrationPlayerV2
impl Send for HydrationPlayerV2
impl Sync for HydrationPlayerV2
impl Unpin for HydrationPlayerV2
impl UnsafeUnpin for HydrationPlayerV2
impl UnwindSafe for HydrationPlayerV2
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