Struct x11::xrender::_XLinearGradient
source · [−]#[repr(C)]pub struct _XLinearGradient {
pub p1: XPointFixed,
pub p2: XPointFixed,
}
Fields
p1: XPointFixed
p2: XPointFixed
Trait Implementations
sourceimpl Clone for _XLinearGradient
impl Clone for _XLinearGradient
sourcefn clone(&self) -> _XLinearGradient
fn clone(&self) -> _XLinearGradient
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for _XLinearGradient
impl Debug for _XLinearGradient
sourceimpl PartialEq<_XLinearGradient> for _XLinearGradient
impl PartialEq<_XLinearGradient> for _XLinearGradient
sourcefn eq(&self, other: &_XLinearGradient) -> bool
fn eq(&self, other: &_XLinearGradient) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for _XLinearGradient
impl StructuralPartialEq for _XLinearGradient
Auto Trait Implementations
impl RefUnwindSafe for _XLinearGradient
impl Send for _XLinearGradient
impl Sync for _XLinearGradient
impl Unpin for _XLinearGradient
impl UnwindSafe for _XLinearGradient
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more