Struct dpc::common::function::CallInterface
source · pub struct CallInterface {
pub function: ResourceLocation,
pub args: FunctionArgs,
pub ret: Vec<MutableValue>,
}Fields§
§function: ResourceLocation§args: FunctionArgs§ret: Vec<MutableValue>Implementations§
source§impl CallInterface
impl CallInterface
pub fn iter_used_regs_mut(&mut self) -> impl Iterator<Item = &mut Identifier>
Trait Implementations§
source§impl Clone for CallInterface
impl Clone for CallInterface
source§fn clone(&self) -> CallInterface
fn clone(&self) -> CallInterface
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 CallInterface
impl Debug for CallInterface
source§impl GetUsedRegs for CallInterface
impl GetUsedRegs for CallInterface
fn append_used_regs<'a>(&'a self, regs: &mut Vec<&'a Identifier>)
fn get_used_regs(&self) -> Vec<&Identifier>
source§impl PartialEq for CallInterface
impl PartialEq for CallInterface
source§fn eq(&self, other: &CallInterface) -> bool
fn eq(&self, other: &CallInterface) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CallInterface
Auto Trait Implementations§
impl RefUnwindSafe for CallInterface
impl Send for CallInterface
impl Sync for CallInterface
impl Unpin for CallInterface
impl UnwindSafe for CallInterface
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