pub struct FuncPolyfill {
pub new: Rc<InterfaceFunc>,
pub old: Rc<InterfaceFunc>,
pub mapped_params: Vec<ParamPolyfill>,
pub unknown_params: Vec<ParamUnknown>,
pub mapped_results: Vec<ParamPolyfill>,
pub unknown_results: Vec<ParamUnknown>,
}Fields§
§new: Rc<InterfaceFunc>§old: Rc<InterfaceFunc>§mapped_params: Vec<ParamPolyfill>§unknown_params: Vec<ParamUnknown>§mapped_results: Vec<ParamPolyfill>§unknown_results: Vec<ParamUnknown>Implementations§
Source§impl FuncPolyfill
impl FuncPolyfill
pub fn new(new: Rc<InterfaceFunc>, old: Rc<InterfaceFunc>) -> FuncPolyfill
pub fn full_compat(&self) -> bool
pub fn type_polyfills(&self) -> HashSet<TypePolyfill>
Trait Implementations§
Source§impl Clone for FuncPolyfill
impl Clone for FuncPolyfill
Source§fn clone(&self) -> FuncPolyfill
fn clone(&self) -> FuncPolyfill
Returns a duplicate 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 FuncPolyfill
impl Debug for FuncPolyfill
Source§impl Documentation for FuncPolyfill
impl Documentation for FuncPolyfill
Source§impl Hash for FuncPolyfill
impl Hash for FuncPolyfill
Source§impl PartialEq for FuncPolyfill
impl PartialEq for FuncPolyfill
impl Eq for FuncPolyfill
impl StructuralPartialEq for FuncPolyfill
Auto Trait Implementations§
impl Freeze for FuncPolyfill
impl RefUnwindSafe for FuncPolyfill
impl !Send for FuncPolyfill
impl !Sync for FuncPolyfill
impl Unpin for FuncPolyfill
impl UnwindSafe for FuncPolyfill
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