Struct pdbtbx::SequencePosition [−][src]
The position of the sequence for a cross-reference of sequences.
Fields
start: usize
The starting position
start_insert: char
Initial insertion code of the PDB sequence segment
end: usize
The ending position
end_insert: char
Ending insertion code of the PDB sequence segment
Implementations
impl SequencePosition
[src]
pub fn new(
start: usize,
start_insert: char,
end: usize,
end_insert: char
) -> Self
[src]
start: usize,
start_insert: char,
end: usize,
end_insert: char
) -> Self
Create a new SequencePosition
pub fn from_tuple(
(start, start_insert, end, end_insert): (usize, char, usize, char)
) -> Self
[src]
(start, start_insert, end, end_insert): (usize, char, usize, char)
) -> Self
Create a new SequencePosition, from a tuple
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SequencePosition
[src]
impl Send for SequencePosition
[src]
impl Sync for SequencePosition
[src]
impl Unpin for SequencePosition
[src]
impl UnwindSafe for SequencePosition
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,