pub enum ERC165Call {
SupportsInterface {
interface_id: Bytes4,
},
}
Expand description
Implementation of ERC165 is implicitly generated for all interfaces in solidity_interface
,
this structure holds parsed data for ERC165Call
subvariant
Note: no Callable
implementation is provided, call implementation is inlined into every
implementing contract
Variants§
SupportsInterface
ERC165 provides single method, which returns true, if contract implements specified interface
Implementations§
Source§impl ERC165Call
impl ERC165Call
Sourcepub const INTERFACE_ID: Bytes4
pub const INTERFACE_ID: Bytes4
ERC165 selector is provided by standard
Trait Implementations§
Source§impl Call for ERC165Call
impl Call for ERC165Call
Source§impl Debug for ERC165Call
impl Debug for ERC165Call
Source§impl PartialEq for ERC165Call
impl PartialEq for ERC165Call
impl StructuralPartialEq for ERC165Call
Auto Trait Implementations§
impl Freeze for ERC165Call
impl RefUnwindSafe for ERC165Call
impl Send for ERC165Call
impl Sync for ERC165Call
impl Unpin for ERC165Call
impl UnwindSafe for ERC165Call
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