Struct xcb::render::CreateLinearGradient
source · 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
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
)