Enum rust_tdlib::types::VectorPathCommand
source · [−]pub enum VectorPathCommand {
CubicBezierCurve(VectorPathCommandCubicBezierCurve),
Line(VectorPathCommandLine),
// some variants omitted
}
Expand description
Represents a vector path command
Variants
CubicBezierCurve(VectorPathCommandCubicBezierCurve)
A cubic Bézier curve to a given point
Line(VectorPathCommandLine)
A straight line to a given point
Implementations
Trait Implementations
sourceimpl AsRef<VectorPathCommand> for VectorPathCommand
impl AsRef<VectorPathCommand> for VectorPathCommand
sourcefn as_ref(&self) -> &VectorPathCommand
fn as_ref(&self) -> &VectorPathCommand
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for VectorPathCommand
impl Clone for VectorPathCommand
sourcefn clone(&self) -> VectorPathCommand
fn clone(&self) -> VectorPathCommand
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 VectorPathCommand
impl Debug for VectorPathCommand
sourceimpl Default for VectorPathCommand
impl Default for VectorPathCommand
sourceimpl<'de> Deserialize<'de> for VectorPathCommand
impl<'de> Deserialize<'de> for VectorPathCommand
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 VectorPathCommand
impl Serialize for VectorPathCommand
Auto Trait Implementations
impl RefUnwindSafe for VectorPathCommand
impl Send for VectorPathCommand
impl Sync for VectorPathCommand
impl Unpin for VectorPathCommand
impl UnwindSafe for VectorPathCommand
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