Shape

Struct Shape 

Source
pub struct Shape(/* private fields */);

Implementations§

Source§

impl Shape

Source

pub fn rectangle() -> Self

Source

pub fn polygon() -> Self

Source

pub fn ellipse() -> Self

Source

pub fn oval() -> Self

Source

pub fn circle() -> Self

Source

pub fn point() -> Self

Source

pub fn egg() -> Self

Source

pub fn triangle() -> Self

Source

pub fn plaintext() -> Self

Source

pub fn none() -> Self

Source

pub fn plain() -> Self

Source

pub fn diamond() -> Self

Source

pub fn trapezium() -> Self

Source

pub fn parallelogram() -> Self

Source

pub fn house() -> Self

Source

pub fn pentagon() -> Self

Source

pub fn hexagon() -> Self

Source

pub fn septagon() -> Self

Source

pub fn octagon() -> Self

Source

pub fn double_circle() -> Self

Source

pub fn double_octagon() -> Self

Source

pub fn triple_octagon() -> Self

Source

pub fn inverted_triangle() -> Self

Source

pub fn inverted_trapezium() -> Self

Source

pub fn inverted_house() -> Self

Source

pub fn m_diamond() -> Self

Source

pub fn m_square() -> Self

Source

pub fn m_circle() -> Self

Source

pub fn square() -> Self

Source

pub fn star() -> Self

Source

pub fn underline() -> Self

Source

pub fn cylinder() -> Self

Source

pub fn note() -> Self

Source

pub fn tab() -> Self

Source

pub fn folder() -> Self

Source

pub fn box3d() -> Self

Source

pub fn component() -> Self

Source

pub fn promoter() -> Self

Source

pub fn cds() -> Self

Source

pub fn terminator() -> Self

Source

pub fn utr() -> Self

Source

pub fn primersite() -> Self

Source

pub fn restrictionsite() -> Self

Source

pub fn fivepoverhang() -> Self

Source

pub fn threepoverhang() -> Self

Source

pub fn noverhang() -> Self

Source

pub fn assembly() -> Self

Source

pub fn signature() -> Self

Source

pub fn insulator() -> Self

Source

pub fn ribosite() -> Self

Source

pub fn rnastab() -> Self

Source

pub fn proteasesite() -> Self

Source

pub fn proteinstab() -> Self

Source

pub fn rpromoter() -> Self

Source

pub fn rarrow() -> Self

Source

pub fn larrow() -> Self

Source

pub fn lpromoter() -> Self

Source

pub fn record() -> Self

Trait Implementations§

Source§

impl AsRef<str> for Shape

Source§

fn as_ref(&self) -> &str

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Clone for Shape

Source§

fn clone(&self) -> Shape

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Shape

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Shape

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Display for Shape

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for Shape

Source§

fn eq(&self, other: &Shape) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for Shape

Source§

impl StructuralPartialEq for Shape

Auto Trait Implementations§

§

impl Freeze for Shape

§

impl RefUnwindSafe for Shape

§

impl Send for Shape

§

impl Sync for Shape

§

impl Unpin for Shape

§

impl UnwindSafe for Shape

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.