pub struct FrameSelectionSlice {
pub frame_index: usize,
pub result: SelectionResult,
pub positions: Vec<[f64; 3]>,
pub atom_indices: Vec<usize>,
}Expand description
One frame’s contribution to a multi-frame selection.
Fields§
§frame_index: usizeIndex of this frame in the input slice (0-based).
result: SelectionResultFull selection result on this frame.
positions: Vec<[f64; 3]>For atom-context selections (context_size == 1): xyz of each selected
atom in atom_data order for that frame (same length as sorted unique
primary indices). Empty for pair/angle/dihedral contexts (use result.matches).
atom_indices: Vec<usize>Atom-context indices that produced Self::positions (sorted unique).
Trait Implementations§
Source§impl Clone for FrameSelectionSlice
impl Clone for FrameSelectionSlice
Auto Trait Implementations§
impl Forget for FrameSelectionSlice
impl Freeze for FrameSelectionSlicewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<SelectionMatch>: Freeze,
PhantomData<[f64; 3]>: Freeze,
PhantomData<usize>: Freeze,
impl Move for FrameSelectionSlice
impl RefUnwindSafe for FrameSelectionSlice
impl Send for FrameSelectionSlicewhere
RawVecInner: Send,
impl Sync for FrameSelectionSlicewhere
RawVecInner: Sync,
impl Unpin for FrameSelectionSlice
impl UnsafeUnpin for FrameSelectionSlicewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<SelectionMatch>: UnsafeUnpin,
PhantomData<[f64; 3]>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
impl UnwindSafe for FrameSelectionSlicewhere
RawVecInner: UnwindSafe,
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