Struct hyper_scripter::script_type::ScriptFullType
source · [−]pub struct ScriptFullType {
pub ty: ScriptType,
pub sub: Option<ScriptType>,
}
Fields
ty: ScriptType
sub: Option<ScriptType>
Trait Implementations
sourceimpl AsScriptFullTypeRef for ScriptFullType
impl AsScriptFullTypeRef for ScriptFullType
sourceimpl Clone for ScriptFullType
impl Clone for ScriptFullType
sourcefn clone(&self) -> ScriptFullType
fn clone(&self) -> ScriptFullType
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 ScriptFullType
impl Debug for ScriptFullType
sourceimpl Default for ScriptFullType
impl Default for ScriptFullType
sourceimpl Display for ScriptFullType
impl Display for ScriptFullType
sourceimpl FromStr for ScriptFullType
impl FromStr for ScriptFullType
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 PartialEq<ScriptFullType> for ScriptFullType
impl PartialEq<ScriptFullType> for ScriptFullType
sourcefn eq(&self, other: &ScriptFullType) -> bool
fn eq(&self, other: &ScriptFullType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ScriptFullType) -> bool
fn ne(&self, other: &ScriptFullType) -> bool
This method tests for !=
.
sourceimpl Serialize for ScriptFullType
impl Serialize for ScriptFullType
impl Eq for ScriptFullType
impl StructuralEq for ScriptFullType
impl StructuralPartialEq for ScriptFullType
Auto Trait Implementations
impl RefUnwindSafe for ScriptFullType
impl Send for ScriptFullType
impl Sync for ScriptFullType
impl Unpin for ScriptFullType
impl UnwindSafe for ScriptFullType
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.