Struct clojurust::clojure::rust::objects::Globals::SGlobals [−][src]
pub struct SGlobals { /* fields omitted */ }
Trait Implementations
impl Default for SGlobals
[src]
impl Globals for SGlobals
[src]
fn update(&mut self, name: &str, value: &Object) -> ObjResult<Object>
[src]
Globals -> String -> Object -> Globals
fn get_obj_by_id(&self, index: usize) -> ObjResult<Object>
[src]
Globals -> usize -> Object
fn get_obj_by_name(&self, name: &str) -> ObjResult<Object>
[src]
Globals -> String -> Object
fn get_id_for_name(&self, name: &str) -> ObjResult<Object>
[src]
Globals -> String -> usize
impl IObject for SGlobals
[src]
Auto Trait Implementations
impl !RefUnwindSafe for SGlobals
impl Send for SGlobals
impl Sync for SGlobals
impl Unpin for SGlobals
impl !UnwindSafe for SGlobals
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>,