Struct jlrs::value::method_instance::MethodInstance [−][src]
This type is a placeholder to cache data for a specType signature specialization of a Method
can can be used as a unique dictionary key representation of a call to a particular Method
with a particular set of argument types
Implementations
impl<'frame> MethodInstance<'frame>
[src]
pub fn def(self) -> Value<'frame, 'static>
[src]
Context for this code
pub fn spec_types(self) -> Value<'frame, 'static>
[src]
pub fn sparam_vals(self) -> SimpleVector<'frame>
[src]
pub fn uninferred(self) -> Value<'frame, 'static>
[src]
pub fn backedges(self) -> Array<'frame, 'static>
[src]
List of method-instances which contain a call into this method-instance
pub fn cache(self) -> CodeInstance<'frame>
[src]
The cache
field.
pub fn in_inference(self) -> u8
[src]
Flags to tell if inference is running on this object
pub fn as_value(self) -> Value<'frame, 'static>
[src]
Convert self
to a Value
.
Trait Implementations
impl<'frame, 'data> Cast<'frame, 'data> for MethodInstance<'frame>
[src]
type Output = Self
fn cast(value: Value<'frame, 'data>) -> JlrsResult<Self::Output>
[src]
unsafe fn cast_unchecked(value: Value<'frame, 'data>) -> Self::Output
[src]
impl<'frame> Clone for MethodInstance<'frame>
[src]
fn clone(&self) -> MethodInstance<'frame>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'frame> Copy for MethodInstance<'frame>
[src]
impl<'frame> Eq for MethodInstance<'frame>
[src]
impl<'frame> Hash for MethodInstance<'frame>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<'frame> Into<Value<'frame, 'static>> for MethodInstance<'frame>
[src]
impl<'frame> JuliaType for MethodInstance<'frame>
[src]
unsafe fn julia_type() -> *mut jl_datatype_t
[src]
impl<'frame> JuliaTypecheck for MethodInstance<'frame>
[src]
unsafe fn julia_typecheck(t: DataType<'_>) -> bool
[src]
impl<'frame> PartialEq<MethodInstance<'frame>> for MethodInstance<'frame>
[src]
fn eq(&self, other: &MethodInstance<'frame>) -> bool
[src]
fn ne(&self, other: &MethodInstance<'frame>) -> bool
[src]
impl<'frame> StructuralEq for MethodInstance<'frame>
[src]
impl<'frame> StructuralPartialEq for MethodInstance<'frame>
[src]
impl<'frame> ValidLayout for MethodInstance<'frame>
[src]
unsafe fn valid_layout(v: Value<'_, '_>) -> bool
[src]
Auto Trait Implementations
impl<'frame> RefUnwindSafe for MethodInstance<'frame>
[src]
impl<'frame> !Send for MethodInstance<'frame>
[src]
impl<'frame> !Sync for MethodInstance<'frame>
[src]
impl<'frame> Unpin for MethodInstance<'frame>
[src]
impl<'frame> UnwindSafe for MethodInstance<'frame>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,