Struct clojurust::clojure::rust::objects::Function::SFunction [−][src]
Fields
full_name: usize
index of full name: ns + class/protocol + name
multiary: Option<usize>
Mark optional arity of multi-arity function.
func: Object
PersistentHashMap arity usize
->
Implementations
impl SFunction
[src]
Trait Implementations
impl Default for SFunction
[src]
impl Function for SFunction
[src]
fn get(&self, arity: usize) -> ObjResult<Object>
[src]
fn call(&self, args: &Object) -> ObjResult<Object>
[src]
impl IObject for SFunction
[src]
fn getClass<'a>(&self) -> &'a SClass
[src]
fn hashCode(&self) -> usize
[src]
fn equals(&self, other: &Object) -> bool
[src]
fn toString(&self) -> String
[src]
impl Send for SFunction
[src]
impl Sync for SFunction
[src]
Auto Trait Implementations
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<S> CastArc for S where
S: CastFromSync + ?Sized,
[src]
S: CastFromSync + ?Sized,
impl<S> CastBox for S where
S: CastFrom + ?Sized,
[src]
S: CastFrom + ?Sized,
pub fn cast<T>(self: Box<S, Global>) -> Result<Box<T, Global>, Box<S, Global>> where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> CastFrom for T where
T: 'static + Any,
[src]
T: 'static + Any,
pub fn ref_any(&self) -> &(dyn Any + 'static)
[src]
pub fn mut_any(&mut self) -> &mut (dyn Any + 'static)
[src]
pub fn box_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
[src]
pub fn rc_any(self: Rc<T>) -> Rc<dyn Any + 'static>
[src]
impl<T> CastFromSync for T where
T: 'static + Sync + Send,
[src]
T: 'static + Sync + Send,
impl<S> CastMut for S where
S: CastFrom + ?Sized,
[src]
S: CastFrom + ?Sized,
impl<S> CastRc for S where
S: CastFrom + ?Sized,
[src]
S: CastFrom + ?Sized,
impl<S> CastRef for S where
S: CastFrom + ?Sized,
[src]
S: CastFrom + ?Sized,
pub fn cast<T>(&self) -> Option<&T> where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
pub fn impls<T>(&self) -> bool where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
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>,