Struct libreda_db::chip::Shapes
source · [−]pub struct Shapes<C> where
C: CoordinateType, { /* private fields */ }Expand description
Shapes<T> is a collection of Shape<T> structs. Each of
the elements is assigned an index when inserted into the collection.
Trait Implementations
sourceimpl<C: Clone> Clone for Shapes<C> where
C: CoordinateType,
impl<C: Clone> Clone for Shapes<C> where
C: CoordinateType,
sourceimpl<C: Debug> Debug for Shapes<C> where
C: CoordinateType,
impl<C: Debug> Debug for Shapes<C> where
C: CoordinateType,
sourceimpl<C: CoordinateType> TryBoundingBox<C> for Shapes<C>
impl<C: CoordinateType> TryBoundingBox<C> for Shapes<C>
sourcefn try_bounding_box(&self) -> Option<Rect<C>>
fn try_bounding_box(&self) -> Option<Rect<C>>
Return the bounding box of this geometry if a bounding box is defined.
Auto Trait Implementations
impl<C> RefUnwindSafe for Shapes<C> where
C: RefUnwindSafe,
impl<C> Send for Shapes<C> where
C: Send,
impl<C> Sync for Shapes<C> where
C: Sync,
impl<C> Unpin for Shapes<C> where
C: Unpin,
impl<C> UnwindSafe for Shapes<C> where
C: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more