pub struct SupplyRail {
pub name: String,
pub y: f32,
}Expand description
A supply rail (horizontal line across the schematic).
Fields§
§name: StringRail name ("vcc" or "gnd").
y: f32Y position of this rail.
Trait Implementations§
Source§impl Clone for SupplyRail
impl Clone for SupplyRail
Source§fn clone(&self) -> SupplyRail
fn clone(&self) -> SupplyRail
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 moreSource§impl Debug for SupplyRail
impl Debug for SupplyRail
Source§impl<'de> Deserialize<'de> for SupplyRail
impl<'de> Deserialize<'de> for SupplyRail
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
Auto Trait Implementations§
impl Freeze for SupplyRail
impl RefUnwindSafe for SupplyRail
impl Send for SupplyRail
impl Sync for SupplyRail
impl Unpin for SupplyRail
impl UnsafeUnpin for SupplyRail
impl UnwindSafe for SupplyRail
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