Enum kicad_parse_gen::schematic::Orientation [] [src]

pub enum Orientation {
    Horizontal,
    Vertical,
}

a component orientation

Variants

Horizontal

horizontal orientation

Vertical

vertical orientation

Methods

impl Orientation
[src]

fn new(c: char) -> Result<Orientation>

create a new component orientation from a char

Trait Implementations

impl Clone for Orientation
[src]

fn clone(&self) -> Orientation

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Decodable for Orientation
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Orientation, __D::Error>

impl Encodable for Orientation
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Debug for Orientation
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for Orientation
[src]

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

Formats the value using the given formatter.