pub struct SchematicDocumentationHeaderImagePlacement {
pub center: SchematicNativeLoadedPoint,
pub width_nm: i64,
pub height_nm: i64,
pub authored_scale: Option<f64>,
pub header_scale: f64,
pub horizontal_ppi: u32,
pub used_fallback_ppi: bool,
pub required_file_version: u32,
pub legacy_header_scale_adjustment: bool,
}Expand description
Header-derived approximation in the native +Y-down coordinate frame. This does not prove successful wx decoding, decoded PPI or native image bounds.
Fields§
§center: SchematicNativeLoadedPoint§width_nm: i64§height_nm: i64§header_scale: f64§horizontal_ppi: u32§used_fallback_ppi: bool§required_file_version: u32§legacy_header_scale_adjustment: boolTrait Implementations§
Source§impl Clone for SchematicDocumentationHeaderImagePlacement
impl Clone for SchematicDocumentationHeaderImagePlacement
Source§fn clone(&self) -> SchematicDocumentationHeaderImagePlacement
fn clone(&self) -> SchematicDocumentationHeaderImagePlacement
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 SchematicDocumentationHeaderImagePlacement
impl StructuralPartialEq for SchematicDocumentationHeaderImagePlacement
Auto Trait Implementations§
impl Freeze for SchematicDocumentationHeaderImagePlacement
impl RefUnwindSafe for SchematicDocumentationHeaderImagePlacement
impl Send for SchematicDocumentationHeaderImagePlacement
impl Sync for SchematicDocumentationHeaderImagePlacement
impl Unpin for SchematicDocumentationHeaderImagePlacement
impl UnsafeUnpin for SchematicDocumentationHeaderImagePlacement
impl UnwindSafe for SchematicDocumentationHeaderImagePlacement
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