pub struct ResidueRef {
pub entity_id: EntityId,
pub residue_index: u32,
}Expand description
Reference to a specific residue inside an entity. Mirror of
proto::plugin::ResidueRef.
Fields§
§entity_id: EntityIdEntity the residue belongs to.
residue_index: u320-indexed within entity.
Trait Implementations§
Source§impl Clone for ResidueRef
impl Clone for ResidueRef
Source§fn clone(&self) -> ResidueRef
fn clone(&self) -> ResidueRef
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 moreimpl Copy for ResidueRef
Source§impl Debug for ResidueRef
impl Debug for ResidueRef
impl Eq for ResidueRef
Source§impl PartialEq for ResidueRef
impl PartialEq for ResidueRef
Source§fn eq(&self, other: &ResidueRef) -> bool
fn eq(&self, other: &ResidueRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResidueRef
Auto Trait Implementations§
impl Freeze for ResidueRef
impl RefUnwindSafe for ResidueRef
impl Send for ResidueRef
impl Sync for ResidueRef
impl Unpin for ResidueRef
impl UnsafeUnpin for ResidueRef
impl UnwindSafe for ResidueRef
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