pub struct CreateRadialGradientRequest<'input> {
pub picture: Picture,
pub inner: Pointfix,
pub outer: Pointfix,
pub inner_radius: Fixed,
pub outer_radius: Fixed,
pub stops: Cow<'input, [Fixed]>,
pub colors: Cow<'input, [Color]>,
}
Fields§
§picture: Picture
§inner: Pointfix
§outer: Pointfix
§inner_radius: Fixed
§outer_radius: Fixed
§stops: Cow<'input, [Fixed]>
§colors: Cow<'input, [Color]>
Implementations§
source§impl<'input> CreateRadialGradientRequest<'input>
impl<'input> CreateRadialGradientRequest<'input>
sourcepub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'input, [u8]>; 4]>
pub fn serialize(self, major_opcode: u8) -> BufWithFds<[Cow<'input, [u8]>; 4]>
Serialize this request into bytes for the provided connection
sourcepub fn into_owned(self) -> CreateRadialGradientRequest<'static>
pub fn into_owned(self) -> CreateRadialGradientRequest<'static>
Clone all borrowed data in this CreateRadialGradientRequest.
Trait Implementations§
source§impl<'input> Clone for CreateRadialGradientRequest<'input>
impl<'input> Clone for CreateRadialGradientRequest<'input>
source§fn clone(&self) -> CreateRadialGradientRequest<'input>
fn clone(&self) -> CreateRadialGradientRequest<'input>
Returns a copy 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 CreateRadialGradientRequest<'_>
impl Debug for CreateRadialGradientRequest<'_>
source§impl<'input> Default for CreateRadialGradientRequest<'input>
impl<'input> Default for CreateRadialGradientRequest<'input>
source§fn default() -> CreateRadialGradientRequest<'input>
fn default() -> CreateRadialGradientRequest<'input>
Returns the “default value” for a type. Read more
source§impl<'input> Request for CreateRadialGradientRequest<'input>
impl<'input> Request for CreateRadialGradientRequest<'input>
impl<'input> VoidRequest for CreateRadialGradientRequest<'input>
Auto Trait Implementations§
impl<'input> Freeze for CreateRadialGradientRequest<'input>
impl<'input> RefUnwindSafe for CreateRadialGradientRequest<'input>
impl<'input> Send for CreateRadialGradientRequest<'input>
impl<'input> Sync for CreateRadialGradientRequest<'input>
impl<'input> Unpin for CreateRadialGradientRequest<'input>
impl<'input> UnwindSafe for CreateRadialGradientRequest<'input>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)