[−][src]Struct cadnano_format::Cadnano
Fields
name: String
vstrands: 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]
name: String,
lattice: Lattice,
scaffolds: &[Strand],
staples: &[Strand],
edits: &[(Point, isize)]
) -> Cadnano
Trait Implementations
impl PartialEq<Cadnano> for Cadnano
[src]
impl Eq for Cadnano
[src]
impl Debug for Cadnano
[src]
impl Serialize for Cadnano
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Cadnano
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
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]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
[src]
M: TransformMatrix<Swp, Dwp, T>,
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]
T: Deserialize<'de>,