pub struct TransformedCell<T: Layout> { /* private fields */ }
Expand description
A transformed view of a cell, usually created by accessing the cell of an instance.
Implementations§
Source§impl<T: Layout> TransformedCell<T>
impl<T: Layout> TransformedCell<T>
Sourcepub fn new(cell: &Cell<T>, trans: Transformation) -> Self
pub fn new(cell: &Cell<T>, trans: Transformation) -> Self
Creates a new transformed cell from the given cell and transformation.
Trait Implementations§
Source§impl<T: Layout> Bbox for TransformedCell<T>
impl<T: Layout> Bbox for TransformedCell<T>
Source§impl<T: Layout> TransformRef for TransformedCell<T>
impl<T: Layout> TransformRef for TransformedCell<T>
Source§fn transform_ref(&self, trans: Transformation) -> Self
fn transform_ref(&self, trans: Transformation) -> Self
Applies matrix-vector
Transformation
trans
.Source§impl<T: Layout> TranslateRef for TransformedCell<T>
impl<T: Layout> TranslateRef for TransformedCell<T>
Source§fn translate_ref(&self, p: Point) -> Self
fn translate_ref(&self, p: Point) -> Self
Translates the shape by
Point
, returning a new shape.Auto Trait Implementations§
impl<T> Freeze for TransformedCell<T>
impl<T> RefUnwindSafe for TransformedCell<T>where
<T as Layout>::Data: RefUnwindSafe,
<T as Layout>::Bundle: RefUnwindSafe,
T: RefUnwindSafe,
<<T as Layout>::Schema as Schema>::Layer: RefUnwindSafe,
impl<T> Send for TransformedCell<T>
impl<T> Sync for TransformedCell<T>
impl<T> Unpin for TransformedCell<T>
impl<T> UnwindSafe for TransformedCell<T>where
<T as Layout>::Data: UnwindSafe,
<T as Layout>::Bundle: UnwindSafe,
T: RefUnwindSafe,
<<T as Layout>::Schema as Schema>::Layer: RefUnwindSafe,
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
§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>
Converts
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
, which can then be
downcast
into Box<dyn 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>
Converts
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
, which 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)
Converts
&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)
Converts
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.§impl<T> DowncastSend for T
impl<T> DowncastSend for T
§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request