pub struct SchematicPlacedSymbol {Show 17 fields
pub lib_id: String,
pub lib_name: String,
pub at: SchematicPoint,
pub angle_degrees: f64,
pub mirror: Option<String>,
pub unit: i64,
pub convert: i64,
pub exclude_from_sim: bool,
pub in_bom: bool,
pub on_board: bool,
pub in_pos_files: bool,
pub dnp: bool,
pub fields_autoplaced: bool,
pub uuid: String,
pub properties: Vec<SchematicSymbolProperty>,
pub pins: Vec<SchematicSymbolPin>,
pub instances: Vec<SchematicSymbolInstance>,
/* private fields */
}Fields§
§lib_id: String§lib_name: String§at: SchematicPoint§angle_degrees: f64§mirror: Option<String>§unit: i64§convert: i64§exclude_from_sim: bool§in_bom: bool§on_board: bool§in_pos_files: bool§dnp: bool§fields_autoplaced: bool§uuid: String§properties: Vec<SchematicSymbolProperty>§pins: Vec<SchematicSymbolPin>§instances: Vec<SchematicSymbolInstance>Implementations§
Source§impl SchematicPlacedSymbol
impl SchematicPlacedSymbol
pub fn instance_for_project( &self, project: &str, path: &str, ) -> Result<Option<&SchematicSymbolInstance>, SchematicSymbolInstanceLookupError>
pub fn unique_instance_for_path( &self, path: &str, ) -> Result<Option<&SchematicSymbolInstance>, SchematicSymbolInstanceLookupError>
Trait Implementations§
Source§impl Clone for SchematicPlacedSymbol
impl Clone for SchematicPlacedSymbol
Source§fn clone(&self) -> SchematicPlacedSymbol
fn clone(&self) -> SchematicPlacedSymbol
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 SchematicPlacedSymbol
impl Debug for SchematicPlacedSymbol
Source§impl<'de> Deserialize<'de> for SchematicPlacedSymbol
impl<'de> Deserialize<'de> for SchematicPlacedSymbol
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
Source§impl PartialEq for SchematicPlacedSymbol
impl PartialEq for SchematicPlacedSymbol
Source§impl Serialize for SchematicPlacedSymbol
impl Serialize for SchematicPlacedSymbol
impl StructuralPartialEq for SchematicPlacedSymbol
Auto Trait Implementations§
impl Freeze for SchematicPlacedSymbol
impl RefUnwindSafe for SchematicPlacedSymbol
impl Send for SchematicPlacedSymbol
impl Sync for SchematicPlacedSymbol
impl Unpin for SchematicPlacedSymbol
impl UnsafeUnpin for SchematicPlacedSymbol
impl UnwindSafe for SchematicPlacedSymbol
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