Struct ferritin_pymol::pymolparsing::parsing::SessionSelector
source · pub struct SessionSelector {
pub id: String,
pub atom_index: Vec<i64>,
pub atom_tag: Vec<i64>,
}
Expand description
Session Selector
Defines a pymole seleciton in terms of names and atom indices.
Fields§
§id: String
§atom_index: Vec<i64>
§atom_tag: Vec<i64>
Implementations§
source§impl SessionSelector
impl SessionSelector
pub fn to_component(&self) -> ComponentSelector
Trait Implementations§
source§impl Debug for SessionSelector
impl Debug for SessionSelector
source§impl<'de> Deserialize<'de> for SessionSelector
impl<'de> Deserialize<'de> for SessionSelector
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SessionSelector
impl RefUnwindSafe for SessionSelector
impl Send for SessionSelector
impl Sync for SessionSelector
impl Unpin for SessionSelector
impl UnwindSafe for SessionSelector
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more