Struct move_idl::IDLStructType
source · [−]pub struct IDLStructType {
pub name: StructTagData,
pub ty_args: Vec<IDLType, Global>,
}
Expand description
A struct with types.
Fields
name: StructTagData
Fully qualified name of the struct.
ty_args: Vec<IDLType, Global>
Type arguments of the struct, if applicable.
Trait Implementations
sourceimpl Clone for IDLStructType
impl Clone for IDLStructType
sourcefn clone(&self) -> IDLStructType
fn clone(&self) -> IDLStructType
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 IDLStructType
impl Debug for IDLStructType
sourceimpl<'de> Deserialize<'de> for IDLStructType
impl<'de> Deserialize<'de> for IDLStructType
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<IDLStructType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<IDLStructType, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<IDLStructType> for IDLStructType
impl PartialEq<IDLStructType> for IDLStructType
sourcefn eq(&self, other: &IDLStructType) -> bool
fn eq(&self, other: &IDLStructType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &IDLStructType) -> bool
fn ne(&self, other: &IDLStructType) -> bool
This method tests for !=
.
sourceimpl Serialize for IDLStructType
impl Serialize for IDLStructType
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for IDLStructType
impl StructuralEq for IDLStructType
impl StructuralPartialEq for IDLStructType
Auto Trait Implementations
impl RefUnwindSafe for IDLStructType
impl Send for IDLStructType
impl Sync for IDLStructType
impl Unpin for IDLStructType
impl UnwindSafe for IDLStructType
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.