substrate::geometry::transform

Trait TransformRef

Source
pub trait TransformRef: TranslateRef {
    // Required method
    fn transform_ref(&self, trans: Transformation) -> Self;
}
Expand description

A trait for specifying how an object is changed by a Transformation.

Required Methods§

Source

fn transform_ref(&self, trans: Transformation) -> Self

Applies matrix-vector Transformation trans.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl TransformRef for ()

Source§

impl<L> TransformRef for Shape<L>
where L: Clone,

Source§

impl<L> TransformRef for Text<L>
where L: Clone,

Source§

fn transform_ref(&self, trans: Transformation) -> Text<L>

Source§

impl<T> TransformRef for Option<T>
where T: TransformRef,

Source§

impl<T> TransformRef for Vec<T>
where T: TransformRef,

Source§

fn transform_ref(&self, trans: Transformation) -> Vec<T>

Implementors§

Source§

impl TransformRef for substrate::geometry::shape::Shape

Source§

impl TransformRef for Point

Source§

impl TransformRef for Polygon

Source§

impl TransformRef for Rect

Source§

impl<L: Clone> TransformRef for Element<L>

Source§

impl<L: Clone> TransformRef for RawCell<L>

Source§

impl<L: Clone> TransformRef for RawInstance<L>

Source§

impl<L: Clone> TransformRef for PortGeometry<L>

Source§

impl<SubstrateV> TransformRef for DiffPairView<SubstrateV>
where InOut<Signal>: HasView<SubstrateV>, <InOut<Signal> as HasView<SubstrateV>>::View: TransformRef,

Source§

impl<SubstrateV> TransformRef for MosIoView<SubstrateV>
where InOut<Signal>: HasView<SubstrateV>, Input<Signal>: HasView<SubstrateV>, <InOut<Signal> as HasView<SubstrateV>>::View: TransformRef, <Input<Signal> as HasView<SubstrateV>>::View: TransformRef,

Source§

impl<SubstrateV> TransformRef for PowerIoView<SubstrateV>
where InOut<Signal>: HasView<SubstrateV>, <InOut<Signal> as HasView<SubstrateV>>::View: TransformRef,

Source§

impl<SubstrateV> TransformRef for TestbenchIoView<SubstrateV>
where InOut<Signal>: HasView<SubstrateV>, <InOut<Signal> as HasView<SubstrateV>>::View: TransformRef,

Source§

impl<SubstrateV> TransformRef for TwoTerminalIoView<SubstrateV>
where InOut<Signal>: HasView<SubstrateV>, <InOut<Signal> as HasView<SubstrateV>>::View: TransformRef,

Source§

impl<T: Layout> TransformRef for Instance<T>

Source§

impl<T: Layout> TransformRef for TransformedCell<T>

Source§

impl<T: HasBundleKind + TransformRef> TransformRef for ArrayBundle<T>