Struct hyper_scripter::script_type::ScriptType
source · [−]pub struct ScriptType(_);
Implementations
sourceimpl ScriptType
impl ScriptType
pub fn new_unchecked(s: String) -> Self
Trait Implementations
sourceimpl AsRef<str> for ScriptType
impl AsRef<str> for ScriptType
sourceimpl Clone for ScriptType
impl Clone for ScriptType
sourcefn clone(&self) -> ScriptType
fn clone(&self) -> ScriptType
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 ScriptType
impl Debug for ScriptType
sourceimpl Default for ScriptType
impl Default for ScriptType
sourceimpl<'de> Deserialize<'de> for ScriptType
impl<'de> Deserialize<'de> for ScriptType
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 Display for ScriptType
impl Display for ScriptType
sourceimpl FromStr for ScriptType
impl FromStr for ScriptType
type Err = DisplayError
type Err = DisplayError
The associated error which can be returned from parsing.
sourcefn from_str(s: &str) -> DisplayResult<Self>
fn from_str(s: &str) -> DisplayResult<Self>
Parses a string s
to return a value of this type. Read more
sourceimpl Hash for ScriptType
impl Hash for ScriptType
sourceimpl PartialEq<ScriptType> for ScriptType
impl PartialEq<ScriptType> for ScriptType
sourcefn eq(&self, other: &ScriptType) -> bool
fn eq(&self, other: &ScriptType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ScriptType) -> bool
fn ne(&self, other: &ScriptType) -> bool
This method tests for !=
.
sourceimpl Serialize for ScriptType
impl Serialize for ScriptType
impl Eq for ScriptType
impl StructuralEq for ScriptType
impl StructuralPartialEq for ScriptType
Auto Trait Implementations
impl RefUnwindSafe for ScriptType
impl Send for ScriptType
impl Sync for ScriptType
impl Unpin for ScriptType
impl UnwindSafe for ScriptType
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
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.