Struct dis_rs::AttachedPart
source · pub struct AttachedPart {
pub detached_indicator: AttachedPartDetachedIndicator,
pub attachment_id: u16,
pub parameter_type: AttachedParts,
pub attached_part_type: EntityType,
}
Fields§
§detached_indicator: AttachedPartDetachedIndicator
§attachment_id: u16
§parameter_type: AttachedParts
§attached_part_type: EntityType
Implementations§
source§impl AttachedPart
impl AttachedPart
pub fn with_detached_indicator( self, detached_indicator: AttachedPartDetachedIndicator ) -> Self
pub fn with_attachment_id(self, attachment_id: u16) -> Self
pub fn with_parameter_type(self, parameter_type: AttachedParts) -> Self
pub fn with_attached_part_type(self, attached_part_type: EntityType) -> Self
pub fn to_variable_parameter(self) -> VariableParameter
Trait Implementations§
source§impl Clone for AttachedPart
impl Clone for AttachedPart
source§fn clone(&self) -> AttachedPart
fn clone(&self) -> AttachedPart
Returns a copy of the value. Read more
1.0.0 · 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 AttachedPart
impl Debug for AttachedPart
source§impl Default for AttachedPart
impl Default for AttachedPart
source§fn default() -> AttachedPart
fn default() -> AttachedPart
Returns the “default value” for a type. Read more
impl Copy for AttachedPart
Auto Trait Implementations§
impl RefUnwindSafe for AttachedPart
impl Send for AttachedPart
impl Sync for AttachedPart
impl Unpin for AttachedPart
impl UnwindSafe for AttachedPart
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