pub struct AnyOffsetLayer { /* private fields */ }Expand description
Erased OffsetLayer: what RenderObject.updateCompositedLayer returns and
PaintingContext positions.
Implementations§
Source§impl AnyOffsetLayer
impl AnyOffsetLayer
pub fn id(self) -> HandleId
Sourcepub fn as_container_layer(self) -> AnyContainerLayer
pub fn as_container_layer(self) -> AnyContainerLayer
The ContainerLayer view of this layer. Free: points into the nested table.
Sourcepub fn set_offset(self, app: &mut App, value: Offset)
pub fn set_offset(self, app: &mut App, value: Offset)
Trait Implementations§
Source§impl Clone for AnyOffsetLayer
impl Clone for AnyOffsetLayer
impl Copy for AnyOffsetLayer
Source§impl Debug for AnyOffsetLayer
impl Debug for AnyOffsetLayer
impl Eq for AnyOffsetLayer
Source§impl ErasedLayer for AnyOffsetLayer
impl ErasedLayer for AnyOffsetLayer
Source§impl From<AnyOffsetLayer> for HandleId
impl From<AnyOffsetLayer> for HandleId
Source§fn from(layer: AnyOffsetLayer) -> HandleId
fn from(layer: AnyOffsetLayer) -> HandleId
Converts to this type from the input type.
Source§impl Hash for AnyOffsetLayer
impl Hash for AnyOffsetLayer
Auto Trait Implementations§
impl Freeze for AnyOffsetLayer
impl RefUnwindSafe for AnyOffsetLayer
impl Send for AnyOffsetLayer
impl Sync for AnyOffsetLayer
impl Unpin for AnyOffsetLayer
impl UnsafeUnpin for AnyOffsetLayer
impl UnwindSafe for AnyOffsetLayer
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.