pub struct UdfInstance<'call> { /* private fields */ }Expand description
An address CLIPS passed into the current UDF invocation.
The token is opaque and has no accessors: it exists so a UDF can
hand an address CLIPS gave it straight back as its result. Its
lifetime is the invocation that produced it, which is what stops a
'static callback from storing one and returning it after CLIPS
has freed the referent.
Trait Implementations§
Source§impl<'call> Clone for UdfInstance<'call>
impl<'call> Clone for UdfInstance<'call>
impl<'call> Copy for UdfInstance<'call>
Source§impl<'call> Debug for UdfInstance<'call>
impl<'call> Debug for UdfInstance<'call>
impl<'call> Eq for UdfInstance<'call>
Source§impl<'call> PartialEq for UdfInstance<'call>
impl<'call> PartialEq for UdfInstance<'call>
impl<'call> StructuralPartialEq for UdfInstance<'call>
Auto Trait Implementations§
impl<'call> !Send for UdfInstance<'call>
impl<'call> !Sync for UdfInstance<'call>
impl<'call> Freeze for UdfInstance<'call>
impl<'call> RefUnwindSafe for UdfInstance<'call>
impl<'call> Unpin for UdfInstance<'call>
impl<'call> UnsafeUnpin for UdfInstance<'call>
impl<'call> UnwindSafe for UdfInstance<'call>
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