#[repr(C)]pub struct VertexGradient {
pub top_left: Color,
pub top_right: Color,
pub bottom_left: Color,
pub bottom_right: Color,
}Expand description
Fields§
§top_left: Color§top_right: Color§bottom_left: Color§bottom_right: ColorImplementations§
Source§impl VertexGradient
impl VertexGradient
Source§impl VertexGradient
impl VertexGradient
pub fn ctor_method_info() -> &'static MethodInfo
pub fn ctor_2_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for VertexGradient
impl ClassIdentity for VertexGradient
Source§impl Clone for VertexGradient
impl Clone for VertexGradient
Source§fn clone(&self) -> VertexGradient
fn clone(&self) -> VertexGradient
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VertexGradient
Auto Trait Implementations§
impl Freeze for VertexGradient
impl RefUnwindSafe for VertexGradient
impl Send for VertexGradient
impl Sync for VertexGradient
impl Unpin for VertexGradient
impl UnwindSafe for VertexGradient
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)