pub struct GatePlacement {
pub gate: u32,
pub pivot: Point,
pub at: Point,
pub rotation: u8,
}Expand description
One gate of a component on the sheet: the gate’s geometry, taken about
pivot in symbol coordinates, turned by rotation quarter turns and put
at at.
Fields§
§gate: u32§pivot: Point§at: Point§rotation: u8Trait Implementations§
Source§impl Clone for GatePlacement
impl Clone for GatePlacement
impl Copy for GatePlacement
Source§impl Debug for GatePlacement
impl Debug for GatePlacement
Source§impl<'de> Deserialize<'de> for GatePlacement
impl<'de> Deserialize<'de> for GatePlacement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GatePlacement
Source§impl PartialEq for GatePlacement
impl PartialEq for GatePlacement
Source§impl Serialize for GatePlacement
impl Serialize for GatePlacement
impl StructuralPartialEq for GatePlacement
Auto Trait Implementations§
impl Forget for GatePlacement
impl Freeze for GatePlacement
impl Move for GatePlacement
impl RefUnwindSafe for GatePlacement
impl Send for GatePlacement
impl Sync for GatePlacement
impl Unpin for GatePlacement
impl UnsafeUnpin for GatePlacement
impl UnwindSafe for GatePlacement
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