pub enum SymbolShape {
Circle,
Path(Path),
}Variants§
Implementations§
Source§impl SymbolShape
impl SymbolShape
pub fn from_vega_str(shape: &str) -> Result<SymbolShape, AvengerError>
pub fn as_path(&self) -> Cow<'_, Path>
Trait Implementations§
Source§impl Clone for SymbolShape
impl Clone for SymbolShape
Source§fn clone(&self) -> SymbolShape
fn clone(&self) -> SymbolShape
Returns a duplicate 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 SymbolShape
impl Debug for SymbolShape
Source§impl Default for SymbolShape
impl Default for SymbolShape
Source§fn default() -> SymbolShape
fn default() -> SymbolShape
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SymbolShape
impl<'de> Deserialize<'de> for SymbolShape
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
Auto Trait Implementations§
impl Freeze for SymbolShape
impl RefUnwindSafe for SymbolShape
impl Send for SymbolShape
impl Sync for SymbolShape
impl Unpin for SymbolShape
impl UnwindSafe for SymbolShape
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more