pub struct CreateLinearGradient<'a> {
pub picture: Picture,
pub p1: Pointfix,
pub p2: Pointfix,
pub stops: &'a [Fixed],
pub colors: &'a [Color],
}Expand description
The CreateLinearGradient request.
This request has no reply.
Associated cookie types are VoidCookie and VoidCookieChecked.
Fields§
§picture: Picture§p1: Pointfix§p2: Pointfix§stops: &'a [Fixed]§colors: &'a [Color]Trait Implementations§
Source§impl<'a> Clone for CreateLinearGradient<'a>
impl<'a> Clone for CreateLinearGradient<'a>
Source§fn clone(&self) -> CreateLinearGradient<'a>
fn clone(&self) -> CreateLinearGradient<'a>
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<'a> Debug for CreateLinearGradient<'a>
impl<'a> Debug for CreateLinearGradient<'a>
Source§impl<'a> RawRequest for CreateLinearGradient<'a>
impl<'a> RawRequest for CreateLinearGradient<'a>
Source§fn raw_request(&self, c: &Connection, checked: bool) -> u64
fn raw_request(&self, c: &Connection, checked: bool) -> u64
Actual implementation of the request sending Read more
Source§impl<'a> Request for CreateLinearGradient<'a>
impl<'a> Request for CreateLinearGradient<'a>
impl<'a> RequestWithoutReply for CreateLinearGradient<'a>
Auto Trait Implementations§
impl<'a> Freeze for CreateLinearGradient<'a>
impl<'a> RefUnwindSafe for CreateLinearGradient<'a>
impl<'a> Send for CreateLinearGradient<'a>
impl<'a> Sync for CreateLinearGradient<'a>
impl<'a> Unpin for CreateLinearGradient<'a>
impl<'a> UnwindSafe for CreateLinearGradient<'a>
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