pub struct LayerPainted {
pub layer_id: LayerId,
pub clip: Rect,
}Fields§
§layer_id: LayerIdThe id of the painted layer.
clip: RectClip rectangle.
Implementations§
Trait Implementations§
Source§impl Clone for LayerPainted
impl Clone for LayerPainted
Source§fn clone(&self) -> LayerPainted
fn clone(&self) -> LayerPainted
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 LayerPainted
impl Debug for LayerPainted
Source§impl<'de> Deserialize<'de> for LayerPainted
impl<'de> Deserialize<'de> for LayerPainted
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
Auto Trait Implementations§
impl Freeze for LayerPainted
impl RefUnwindSafe for LayerPainted
impl Send for LayerPainted
impl Sync for LayerPainted
impl Unpin for LayerPainted
impl UnsafeUnpin for LayerPainted
impl UnwindSafe for LayerPainted
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