Enum wit_encoder::InterfaceItem
source · pub enum InterfaceItem {
TypeDef(TypeDef),
Function(StandaloneFunc),
}
Variants§
TypeDef(TypeDef)
Function(StandaloneFunc)
Trait Implementations§
source§impl Clone for InterfaceItem
impl Clone for InterfaceItem
source§fn clone(&self) -> InterfaceItem
fn clone(&self) -> InterfaceItem
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 InterfaceItem
impl Debug for InterfaceItem
source§impl Hash for InterfaceItem
impl Hash for InterfaceItem
source§impl Ord for InterfaceItem
impl Ord for InterfaceItem
source§fn cmp(&self, other: &InterfaceItem) -> Ordering
fn cmp(&self, other: &InterfaceItem) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for InterfaceItem
impl PartialEq for InterfaceItem
source§fn eq(&self, other: &InterfaceItem) -> bool
fn eq(&self, other: &InterfaceItem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for InterfaceItem
impl PartialOrd for InterfaceItem
source§fn partial_cmp(&self, other: &InterfaceItem) -> Option<Ordering>
fn partial_cmp(&self, other: &InterfaceItem) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for InterfaceItem
impl StructuralPartialEq for InterfaceItem
Auto Trait Implementations§
impl Freeze for InterfaceItem
impl RefUnwindSafe for InterfaceItem
impl Send for InterfaceItem
impl Sync for InterfaceItem
impl Unpin for InterfaceItem
impl UnwindSafe for InterfaceItem
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)