pub enum InputForm {
File,
Residues,
Document(&'static str),
}Expand description
How a chosen file’s contents reach the field they are dropped into.
Variants§
File
The file exactly as its producer wrote it, headers and all.
Residues
Residues alone, one chain per line, with FASTA headers dropped. What a field asking for “one sequence per line” wants.
Document(&'static str)
The field holds a whole input document naming several entities – the structure predictors take one of these rather than a bare sequence – and a chosen sequence joins it as one more chain rather than replacing it. The name is the document’s dialect, which the consuming application is the one that knows how to write.
Implementations§
Trait Implementations§
impl Copy for InputForm
impl Eq for InputForm
impl StructuralPartialEq for InputForm
Auto Trait Implementations§
impl Freeze for InputForm
impl RefUnwindSafe for InputForm
impl Send for InputForm
impl Sync for InputForm
impl Unpin for InputForm
impl UnsafeUnpin for InputForm
impl UnwindSafe for InputForm
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