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