pub struct RegionUsage {
pub name: String,
pub alms_needed: f64,
pub alms: u64,
pub registers: Option<Ratio>,
pub m20k: Option<Ratio>,
pub dsp: Option<Ratio>,
pub placement: Vec<((u32, u32), (u32, u32))>,
}Expand description
A Logic Lock region as the fitter left it: what was placed in it needs (ALMs after dense packing, logic registers, M20Ks, DSP blocks after dense merging) over what the region holds, and the rectangles it is, each its corners.
Fields§
§name: String§alms_needed: f64§alms: u64§registers: Option<Ratio>§m20k: Option<Ratio>§dsp: Option<Ratio>§placement: Vec<((u32, u32), (u32, u32))>Trait Implementations§
Source§impl Clone for RegionUsage
impl Clone for RegionUsage
Source§fn clone(&self) -> RegionUsage
fn clone(&self) -> RegionUsage
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 RegionUsage
impl Debug for RegionUsage
Source§impl<'de> Deserialize<'de> for RegionUsage
impl<'de> Deserialize<'de> for RegionUsage
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 RegionUsage
impl PartialEq for RegionUsage
Source§impl Serialize for RegionUsage
impl Serialize for RegionUsage
impl StructuralPartialEq for RegionUsage
Auto Trait Implementations§
impl Freeze for RegionUsage
impl RefUnwindSafe for RegionUsage
impl Send for RegionUsage
impl Sync for RegionUsage
impl Unpin for RegionUsage
impl UnsafeUnpin for RegionUsage
impl UnwindSafe for RegionUsage
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,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.