Struct witx::polyfill::ParamPolyfill
source · [−]pub struct ParamPolyfill {
pub new: InterfaceFuncParam,
pub old: InterfaceFuncParam,
pub type_polyfill: TypePolyfill,
}
Fields
new: InterfaceFuncParam
old: InterfaceFuncParam
type_polyfill: TypePolyfill
Implementations
sourceimpl ParamPolyfill
impl ParamPolyfill
pub fn param(new: InterfaceFuncParam, old: InterfaceFuncParam) -> Self
pub fn result(new: InterfaceFuncParam, old: InterfaceFuncParam) -> Self
pub fn full_compat(&self) -> bool
pub fn repeq(&self) -> RepEquality
Trait Implementations
sourceimpl Clone for ParamPolyfill
impl Clone for ParamPolyfill
sourcefn clone(&self) -> ParamPolyfill
fn clone(&self) -> ParamPolyfill
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 ParamPolyfill
impl Debug for ParamPolyfill
sourceimpl Documentation for ParamPolyfill
impl Documentation for ParamPolyfill
sourceimpl Hash for ParamPolyfill
impl Hash for ParamPolyfill
sourceimpl PartialEq<ParamPolyfill> for ParamPolyfill
impl PartialEq<ParamPolyfill> for ParamPolyfill
sourcefn eq(&self, other: &ParamPolyfill) -> bool
fn eq(&self, other: &ParamPolyfill) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ParamPolyfill) -> bool
fn ne(&self, other: &ParamPolyfill) -> bool
This method tests for !=
.
impl Eq for ParamPolyfill
impl StructuralEq for ParamPolyfill
impl StructuralPartialEq for ParamPolyfill
Auto Trait Implementations
impl RefUnwindSafe for ParamPolyfill
impl !Send for ParamPolyfill
impl !Sync for ParamPolyfill
impl Unpin for ParamPolyfill
impl UnwindSafe for ParamPolyfill
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<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more