pub struct ExpendableDescriptor {
pub entity_type: EntityType,
}Expand description
6.2.19.4 Expendable Descriptor record
Fields§
§entity_type: EntityTypeImplementations§
Source§impl ExpendableDescriptor
impl ExpendableDescriptor
pub fn with_entity_type(self, entity_type: EntityType) -> Self
Trait Implementations§
Source§impl Clone for ExpendableDescriptor
impl Clone for ExpendableDescriptor
Source§fn clone(&self) -> ExpendableDescriptor
fn clone(&self) -> ExpendableDescriptor
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 ExpendableDescriptor
impl Debug for ExpendableDescriptor
Source§impl Default for ExpendableDescriptor
impl Default for ExpendableDescriptor
Source§fn default() -> ExpendableDescriptor
fn default() -> ExpendableDescriptor
Returns the “default value” for a type. Read more
Source§impl From<ExpendableDescriptor> for DetonationDescriptor
impl From<ExpendableDescriptor> for DetonationDescriptor
Source§fn from(value: ExpendableDescriptor) -> Self
fn from(value: ExpendableDescriptor) -> Self
Converts to this type from the input type.
Source§impl From<ExpendableDescriptor> for FireDescriptor
impl From<ExpendableDescriptor> for FireDescriptor
Source§fn from(value: ExpendableDescriptor) -> Self
fn from(value: ExpendableDescriptor) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ExpendableDescriptor
impl PartialEq for ExpendableDescriptor
Source§fn eq(&self, other: &ExpendableDescriptor) -> bool
fn eq(&self, other: &ExpendableDescriptor) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExpendableDescriptor
Auto Trait Implementations§
impl Freeze for ExpendableDescriptor
impl RefUnwindSafe for ExpendableDescriptor
impl Send for ExpendableDescriptor
impl Sync for ExpendableDescriptor
impl Unpin for ExpendableDescriptor
impl UnsafeUnpin for ExpendableDescriptor
impl UnwindSafe for ExpendableDescriptor
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