pub struct PromiseM<T: SEXPbucket> { /* private fields */ }
Implementations§
Source§impl<T: SEXPbucket> PromiseM<T>
impl<T: SEXPbucket> PromiseM<T>
pub fn new<E: ToSEXP>(x: E) -> RResult<PromiseM<T>>
pub fn seen(&self) -> c_int
pub fn value<S: SEXPbucket, D: RNew>(&self) -> RResult<D>
pub fn was_evaluated(&self) -> bool
pub fn expression(&self) -> SEXP
pub fn environment<S: SEXPbucket>(&self) -> EnvirM<S>
Trait Implementations§
Source§impl<T: SEXPbucket> Clone for PromiseM<T>
impl<T: SEXPbucket> Clone for PromiseM<T>
Source§impl<T: SEXPbucket> Named for PromiseM<T>
impl<T: SEXPbucket> Named for PromiseM<T>
Source§impl<T: SEXPbucket> RAttribute for PromiseM<T>
impl<T: SEXPbucket> RAttribute for PromiseM<T>
fn get_attr<D: RNew, S: SEXPbucket, EE: Into<SymbolM<S>>>( &self, name: EE, ) -> RResult<D>
fn set_attr<T: ToSEXP, EE: Into<SymbolM<S>>, S: SEXPbucket>( &self, name: EE, attr: T, )
fn attribute_names(&self) -> Vec<CString>
fn has_attribute(&self, attr: &str) -> bool
fn attributte<D: RNew>(&self) -> RResult<D>
Source§impl<T: SEXPbucket> RSlot for PromiseM<T>
impl<T: SEXPbucket> RSlot for PromiseM<T>
Source§impl<T: SEXPbucket> Shallow for PromiseM<T>
impl<T: SEXPbucket> Shallow for PromiseM<T>
Source§impl<T: SEXPbucket> ToSEXP for PromiseM<T>
impl<T: SEXPbucket> ToSEXP for PromiseM<T>
unsafe fn s(&self) -> SEXP
fn rtype(&self) -> Rtype
unsafe fn t(&self) -> Rtemp
fn print(&self)
fn is_null(&self) -> bool
fn is_object(&self) -> bool
fn is_s4(&self) -> bool
fn is_array(&self) -> bool
fn is_factor(&self) -> bool
fn is_frame(&self) -> bool
fn is_function(&self) -> bool
fn is_integer(&self) -> bool
fn is_language(&self) -> bool
fn is_list(&self) -> bool
fn is_matrix(&self) -> bool
fn is_newlist(&self) -> bool
fn is_number(&self) -> bool
fn is_numeric(&self) -> bool
fn is_pairlist(&self) -> bool
fn is_primitive(&self) -> bool
fn is_ts(&self) -> bool
fn is_userbinop(&self) -> bool
fn is_validstring(&self) -> bool
fn is_validstringf(&self) -> bool
fn is_vector(&self) -> bool
fn is_vectoratomic(&self) -> bool
fn is_vectorlist(&self) -> bool
fn is_vectorizable(&self) -> bool
fn is_ordered(&self) -> bool
fn is_unordered(&self) -> bool
fn is_data_frame(&self) -> bool
Auto Trait Implementations§
impl<T> Freeze for PromiseM<T>where
T: Freeze,
impl<T> RefUnwindSafe for PromiseM<T>where
T: RefUnwindSafe,
impl<T> Send for PromiseM<T>where
T: Send,
impl<T> Sync for PromiseM<T>where
T: Sync,
impl<T> Unpin for PromiseM<T>where
T: Unpin,
impl<T> UnwindSafe for PromiseM<T>where
T: UnwindSafe,
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