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§
source§impl AsScriptFullTypeRef for ScriptFullType
impl AsScriptFullTypeRef for ScriptFullType
source§impl Clone for ScriptFullType
impl Clone for ScriptFullType
source§fn clone(&self) -> ScriptFullType
fn clone(&self) -> ScriptFullType
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 ScriptFullType
impl Debug for ScriptFullType
source§impl Default for ScriptFullType
impl Default for ScriptFullType
source§impl Display for ScriptFullType
impl Display for ScriptFullType
source§impl FromStr for ScriptFullType
impl FromStr for ScriptFullType
§type Err = DisplayError
type Err = DisplayError
The associated error which can be returned from parsing.
source§impl PartialEq for ScriptFullType
impl PartialEq for ScriptFullType
source§fn 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 ==
.source§impl 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§
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.