pub struct PcbRectangularBase {
pub common: PcbPrimitiveCommon,
pub corner1: CoordPoint,
pub corner2: CoordPoint,
pub rotation: f64,
}Expand description
Base fields for rectangular primitives (Fill, Text).
Fields§
§common: PcbPrimitiveCommonCommon fields.
corner1: CoordPointFirst corner.
corner2: CoordPointSecond corner.
rotation: f64Rotation angle in degrees.
Implementations§
Trait Implementations§
Source§impl AltiumRecord for PcbRectangularBase
impl AltiumRecord for PcbRectangularBase
Source§fn record_type_name() -> &'static str
fn record_type_name() -> &'static str
Human-readable name for this record type.
Source§fn supports_unknown_preservation() -> bool
fn supports_unknown_preservation() -> bool
Whether this record type supports unknown field preservation.
Source§impl Clone for PcbRectangularBase
impl Clone for PcbRectangularBase
Source§fn clone(&self) -> PcbRectangularBase
fn clone(&self) -> PcbRectangularBase
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 PcbRectangularBase
impl Debug for PcbRectangularBase
Source§impl Default for PcbRectangularBase
impl Default for PcbRectangularBase
Source§fn default() -> PcbRectangularBase
fn default() -> PcbRectangularBase
Returns the “default value” for a type. Read more
Source§impl FromBinary for PcbRectangularBase
impl FromBinary for PcbRectangularBase
Auto Trait Implementations§
impl Freeze for PcbRectangularBase
impl RefUnwindSafe for PcbRectangularBase
impl Send for PcbRectangularBase
impl Sync for PcbRectangularBase
impl Unpin for PcbRectangularBase
impl UnwindSafe for PcbRectangularBase
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more