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§
source§impl AsRef<VectorPathCommand> for VectorPathCommand
impl AsRef<VectorPathCommand> for VectorPathCommand
source§fn as_ref(&self) -> &VectorPathCommand
fn as_ref(&self) -> &VectorPathCommand
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for VectorPathCommand
impl Clone for VectorPathCommand
source§fn clone(&self) -> VectorPathCommand
fn clone(&self) -> VectorPathCommand
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VectorPathCommand
impl Debug for VectorPathCommand
source§impl Default for VectorPathCommand
impl Default for VectorPathCommand
source§fn default() -> VectorPathCommand
fn default() -> VectorPathCommand
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VectorPathCommand
impl<'de> Deserialize<'de> for VectorPathCommand
source§fn 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