Fields
parameter: ClonedVar
pointee: *mut Var
Implementations
sourceimpl ParamVar
impl ParamVar
pub fn new(initial_value: Var) -> ParamVar
pub fn cleanup(&mut self)
pub fn warmup(&mut self, context: &Context)
pub fn set(&mut self, value: Var)
pub fn get(&self) -> Var
pub fn try_get(&self) -> Option<Var>
pub fn set_param(&mut self, value: &Var)
pub fn get_param(&self) -> Var
pub fn is_variable(&self) -> bool
pub fn set_name(&mut self, name: &str)
pub fn get_name(&self) -> *const c_char
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ParamVar
impl !Send for ParamVar
impl !Sync for ParamVar
impl Unpin for ParamVar
impl UnwindSafe for ParamVar
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more