pub enum PadLabelOrientation {
Pad,
Orthogonal,
Upright,
}Expand description
Orientation policy for pad-bounded Pin 1 / polarity text labels (A/K, +/-).
Variants§
Pad
Align oblique components/pads along their upright angle in (-90°, +90]; keep orthogonal parts upright.
Orthogonal
Keep polarity labels horizontal (0°).
Upright
Keep all pad labels upright (0°).
Trait Implementations§
Source§impl Clone for PadLabelOrientation
impl Clone for PadLabelOrientation
Source§fn clone(&self) -> PadLabelOrientation
fn clone(&self) -> PadLabelOrientation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PadLabelOrientation
Source§impl Debug for PadLabelOrientation
impl Debug for PadLabelOrientation
Source§impl Default for PadLabelOrientation
impl Default for PadLabelOrientation
Source§fn default() -> PadLabelOrientation
fn default() -> PadLabelOrientation
Returns the “default value” for a type. Read more
impl Eq for PadLabelOrientation
Source§impl PartialEq for PadLabelOrientation
impl PartialEq for PadLabelOrientation
impl StructuralPartialEq for PadLabelOrientation
Auto Trait Implementations§
impl Freeze for PadLabelOrientation
impl RefUnwindSafe for PadLabelOrientation
impl Send for PadLabelOrientation
impl Sync for PadLabelOrientation
impl Unpin for PadLabelOrientation
impl UnsafeUnpin for PadLabelOrientation
impl UnwindSafe for PadLabelOrientation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.