Struct x11rb::protocol::render::CreateLinearGradientRequest
source · pub struct CreateLinearGradientRequest<'input> {
pub picture: u32,
pub p1: Pointfix,
pub p2: Pointfix,
pub stops: Cow<'input, [i32]>,
pub colors: Cow<'input, [Color]>,
}
Fields§
§picture: u32
§p1: Pointfix
§p2: Pointfix
§stops: Cow<'input, [i32]>
§colors: Cow<'input, [Color]>
Implementations§
source§impl<'input> CreateLinearGradientRequest<'input>
impl<'input> CreateLinearGradientRequest<'input>
Trait Implementations§
source§impl<'input> Clone for CreateLinearGradientRequest<'input>
impl<'input> Clone for CreateLinearGradientRequest<'input>
source§fn clone(&self) -> CreateLinearGradientRequest<'input>
fn clone(&self) -> CreateLinearGradientRequest<'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 CreateLinearGradientRequest<'_>
impl Debug for CreateLinearGradientRequest<'_>
source§impl<'input> Default for CreateLinearGradientRequest<'input>
impl<'input> Default for CreateLinearGradientRequest<'input>
source§fn default() -> CreateLinearGradientRequest<'input>
fn default() -> CreateLinearGradientRequest<'input>
Returns the “default value” for a type. Read more
source§impl<'input> Request for CreateLinearGradientRequest<'input>
impl<'input> Request for CreateLinearGradientRequest<'input>
impl<'input> VoidRequest for CreateLinearGradientRequest<'input>
Auto Trait Implementations§
impl<'input> Freeze for CreateLinearGradientRequest<'input>
impl<'input> RefUnwindSafe for CreateLinearGradientRequest<'input>
impl<'input> Send for CreateLinearGradientRequest<'input>
impl<'input> Sync for CreateLinearGradientRequest<'input>
impl<'input> Unpin for CreateLinearGradientRequest<'input>
impl<'input> UnwindSafe for CreateLinearGradientRequest<'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