pub struct BackgroundParams {
pub paint: Paint,
pub width: u32,
pub height: u32,
}Fields§
§paint: PaintBackground paint.
width: u32Output width in pixels. Use 0 to match the composition width.
height: u32Output height in pixels. Use 0 to match the composition height.
Trait Implementations§
Source§impl Clone for BackgroundParams
impl Clone for BackgroundParams
Source§impl Debug for BackgroundParams
impl Debug for BackgroundParams
Source§impl Default for BackgroundParams
impl Default for BackgroundParams
Source§impl Delegated for BackgroundParams
impl Delegated for BackgroundParams
type Delegate = BackgroundParamsDelegate
fn into_delegate(self) -> Self::Delegate
Auto Trait Implementations§
impl Freeze for BackgroundParams
impl RefUnwindSafe for BackgroundParams
impl Send for BackgroundParams
impl Sync for BackgroundParams
impl Unpin for BackgroundParams
impl UnsafeUnpin for BackgroundParams
impl UnwindSafe for BackgroundParams
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