Struct rlottie_sys::LOTGradientType
source · [−]#[repr(transparent)]pub struct LOTGradientType(pub c_uint);
Tuple Fields
0: c_uint
Implementations
sourceimpl LOTGradientType
impl LOTGradientType
pub const GradientLinear: LOTGradientType
sourceimpl LOTGradientType
impl LOTGradientType
pub const GradientRadial: LOTGradientType
Trait Implementations
sourceimpl Clone for LOTGradientType
impl Clone for LOTGradientType
sourcefn clone(&self) -> LOTGradientType
fn clone(&self) -> LOTGradientType
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 LOTGradientType
impl Debug for LOTGradientType
sourceimpl Hash for LOTGradientType
impl Hash for LOTGradientType
sourceimpl PartialEq<LOTGradientType> for LOTGradientType
impl PartialEq<LOTGradientType> for LOTGradientType
sourcefn eq(&self, other: &LOTGradientType) -> bool
fn eq(&self, other: &LOTGradientType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LOTGradientType) -> bool
fn ne(&self, other: &LOTGradientType) -> bool
This method tests for !=
.
impl Copy for LOTGradientType
impl Eq for LOTGradientType
impl StructuralEq for LOTGradientType
impl StructuralPartialEq for LOTGradientType
Auto Trait Implementations
impl RefUnwindSafe for LOTGradientType
impl Send for LOTGradientType
impl Sync for LOTGradientType
impl Unpin for LOTGradientType
impl UnwindSafe for LOTGradientType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more