Enum rust_tdlib::types::BackgroundFill
source · [−]pub enum BackgroundFill {
FreeformGradient(BackgroundFillFreeformGradient),
Gradient(BackgroundFillGradient),
Solid(BackgroundFillSolid),
// some variants omitted
}Expand description
Describes a fill of a background
Variants
FreeformGradient(BackgroundFillFreeformGradient)
Describes a freeform gradient fill of a background
Gradient(BackgroundFillGradient)
Describes a gradient fill of a background
Solid(BackgroundFillSolid)
Describes a solid fill of a background
Implementations
Trait Implementations
sourceimpl AsRef<BackgroundFill> for BackgroundFill
impl AsRef<BackgroundFill> for BackgroundFill
sourcefn as_ref(&self) -> &BackgroundFill
fn as_ref(&self) -> &BackgroundFill
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for BackgroundFill
impl Clone for BackgroundFill
sourcefn clone(&self) -> BackgroundFill
fn clone(&self) -> BackgroundFill
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 BackgroundFill
impl Debug for BackgroundFill
sourceimpl Default for BackgroundFill
impl Default for BackgroundFill
sourceimpl<'de> Deserialize<'de> for BackgroundFill
impl<'de> Deserialize<'de> for BackgroundFill
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for BackgroundFill
impl Serialize for BackgroundFill
Auto Trait Implementations
impl RefUnwindSafe for BackgroundFill
impl Send for BackgroundFill
impl Sync for BackgroundFill
impl Unpin for BackgroundFill
impl UnwindSafe for BackgroundFill
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