Struct advent_solutions::advent2017::day24::Component
[−]
[src]
pub struct Component(_, _);
Each component has two ports, one on each end. The ports come in all
different types, and only matching types can be connected. You take an
inventory of the components by their port types (your puzzle input).
Each port is identified by the number of pins it uses; more pins mean
a stronger connection for your bridge. A 3/7 component, for example,
has a type-3 port on one side, and a type-7 port on the other.
Trait Implementations
impl Copy for Component[src]
impl Clone for Component[src]
fn clone(&self) -> Component[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for Component[src]
fn eq(&self, __arg_0: &Component) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Component) -> bool[src]
This method tests for !=.
impl Eq for Component[src]
impl Debug for Component[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more