pub enum Architecture {
Linear,
Star {
arms: usize,
},
Comb {
branch_spacing: usize,
},
Dendrimer {
generation: usize,
},
Cyclic,
Gradient,
Graft {
graft_fraction: f64,
},
}Expand description
Polymer chain architecture classification.
Variants§
Linear
Simple linear chain (default).
Star
Star polymer with arms number of arms radiating from a central core.
Comb
Comb polymer with branches every branch_spacing backbone units.
Dendrimer
Dendrimer of the given generation.
Cyclic
Cyclic polymer (no chain ends).
Gradient
Gradient copolymer with composition varying along the chain.
Graft
Graft copolymer with randomly placed branches at graft_fraction.
Trait Implementations§
Source§impl Clone for Architecture
impl Clone for Architecture
Source§fn clone(&self) -> Architecture
fn clone(&self) -> Architecture
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Architecture
impl Debug for Architecture
Source§impl Default for Architecture
impl Default for Architecture
Source§fn default() -> Architecture
fn default() -> Architecture
Returns the “default value” for a type. Read more
Source§impl PartialEq for Architecture
impl PartialEq for Architecture
impl StructuralPartialEq for Architecture
Auto Trait Implementations§
impl Freeze for Architecture
impl RefUnwindSafe for Architecture
impl Send for Architecture
impl Sync for Architecture
impl Unpin for Architecture
impl UnsafeUnpin for Architecture
impl UnwindSafe for Architecture
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