[][src]Struct cadnano_format::Cadnano

pub struct Cadnano {
    pub name: String,
    pub vstrands: Vec<VStrand>,
}

Fields

name: Stringvstrands: Vec<VStrand>

Methods

impl Cadnano[src]

pub fn from_file<P: AsRef<Path>>(file: P) -> Result<Self, Error>[src]

pub fn to_file<P: AsRef<Path>>(&self, file: P) -> Result<(), Error>[src]

impl Cadnano[src]

pub fn to_strands(&self) -> Strands[src]

pub fn from_strands(
    name: String,
    lattice: Lattice,
    scaffolds: &[Strand],
    staples: &[Strand],
    edits: &[(Point, isize)]
) -> Cadnano
[src]

Trait Implementations

impl PartialEq<Cadnano> for Cadnano[src]

impl Eq for Cadnano[src]

impl Debug for Cadnano[src]

impl Serialize for Cadnano[src]

impl<'de> Deserialize<'de> for Cadnano[src]

Auto Trait Implementations

impl Send for Cadnano

impl Unpin for Cadnano

impl Sync for Cadnano

impl RefUnwindSafe for Cadnano

impl UnwindSafe for Cadnano

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

fn adapt_into(self) -> D[src]

Convert the source color to the destination color using the bradford method by default Read more

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]