pub enum PluginLanguage {
Rust,
Golang,
Python,
Zig,
}Variants§
Implementations§
Source§impl PluginLanguage
impl PluginLanguage
pub fn string_to_lang(lang: &str) -> Self
Trait Implementations§
Source§impl AsRef<str> for PluginLanguage
impl AsRef<str> for PluginLanguage
Source§impl Clone for PluginLanguage
impl Clone for PluginLanguage
Source§fn clone(&self) -> PluginLanguage
fn clone(&self) -> PluginLanguage
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 PluginLanguage
impl Debug for PluginLanguage
Source§impl Default for PluginLanguage
impl Default for PluginLanguage
Source§fn default() -> PluginLanguage
fn default() -> PluginLanguage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PluginLanguage
impl<'de> Deserialize<'de> for PluginLanguage
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
Source§impl<'_derivative_strum> From<&'_derivative_strum PluginLanguage> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum PluginLanguage> for &'static str
Source§fn from(x: &'_derivative_strum PluginLanguage) -> &'static str
fn from(x: &'_derivative_strum PluginLanguage) -> &'static str
Converts to this type from the input type.
Source§impl From<PluginLanguage> for &'static str
impl From<PluginLanguage> for &'static str
Source§fn from(x: PluginLanguage) -> &'static str
fn from(x: PluginLanguage) -> &'static str
Converts to this type from the input type.
Source§impl FromStr for PluginLanguage
impl FromStr for PluginLanguage
Source§impl IntoEnumIterator for PluginLanguage
impl IntoEnumIterator for PluginLanguage
type Iterator = PluginLanguageIter
fn iter() -> PluginLanguageIter ⓘ
Source§impl PartialEq for PluginLanguage
impl PartialEq for PluginLanguage
Source§impl Serialize for PluginLanguage
impl Serialize for PluginLanguage
Source§impl TryFrom<&str> for PluginLanguage
impl TryFrom<&str> for PluginLanguage
impl Eq for PluginLanguage
impl StructuralPartialEq for PluginLanguage
Auto Trait Implementations§
impl Freeze for PluginLanguage
impl RefUnwindSafe for PluginLanguage
impl Send for PluginLanguage
impl Sync for PluginLanguage
impl Unpin for PluginLanguage
impl UnwindSafe for PluginLanguage
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