pub struct TypeIdentifierWithDependencies {
pub typeid_with_size: TypeIdentifierWithSize,
pub dependent_typeid_count: i32,
pub dependent_typeids: Vec<TypeIdentifierWithSize>,
}Expand description
TypeIdentifier + Abhaengigkeiten (§7.6.3.2.2).
Fields§
§typeid_with_size: TypeIdentifierWithSizeHaupt-Typ.
dependent_typeid_count: i32Anzahl transitiver Dependencies (kann -1 sein = “unknown”).
Wenn dependent_typeids.len() == dependent_typeid_count, ist
die Liste vollstaendig. Bei -1 kann der Empfaenger via
TypeLookup getTypeDependencies nachladen.
dependent_typeids: Vec<TypeIdentifierWithSize>Transitive Dependencies (nur die, die der Sender kennt).
Implementations§
Source§impl TypeIdentifierWithDependencies
impl TypeIdentifierWithDependencies
Sourcepub fn without_dependencies(typeid_with_size: TypeIdentifierWithSize) -> Self
pub fn without_dependencies(typeid_with_size: TypeIdentifierWithSize) -> Self
Kurz-Konstruktor fuer Typen ohne bekannte Dependencies.
Sourcepub fn encode_into(&self, w: &mut BufferWriter) -> Result<(), EncodeError>
pub fn encode_into(&self, w: &mut BufferWriter) -> Result<(), EncodeError>
Sourcepub fn decode_from(r: &mut BufferReader<'_>) -> Result<Self, TypeCodecError>
pub fn decode_from(r: &mut BufferReader<'_>) -> Result<Self, TypeCodecError>
Trait Implementations§
Source§impl Clone for TypeIdentifierWithDependencies
impl Clone for TypeIdentifierWithDependencies
Source§fn clone(&self) -> TypeIdentifierWithDependencies
fn clone(&self) -> TypeIdentifierWithDependencies
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 PartialEq for TypeIdentifierWithDependencies
impl PartialEq for TypeIdentifierWithDependencies
Source§fn eq(&self, other: &TypeIdentifierWithDependencies) -> bool
fn eq(&self, other: &TypeIdentifierWithDependencies) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TypeIdentifierWithDependencies
impl StructuralPartialEq for TypeIdentifierWithDependencies
Auto Trait Implementations§
impl Freeze for TypeIdentifierWithDependencies
impl RefUnwindSafe for TypeIdentifierWithDependencies
impl Send for TypeIdentifierWithDependencies
impl Sync for TypeIdentifierWithDependencies
impl Unpin for TypeIdentifierWithDependencies
impl UnsafeUnpin for TypeIdentifierWithDependencies
impl UnwindSafe for TypeIdentifierWithDependencies
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