[−][src]Struct clips::Environment
Methods
impl Environment
[src]
pub fn from_ptr(raw: *mut Environment) -> Self
[src]
pub fn clear(&mut self) -> Result<(), ClipsError>
[src]
pub fn load_from_str(&mut self, string: &str) -> Result<(), ClipsError>
[src]
pub fn load(&mut self, path: &Path) -> Result<(), ClipsError>
[src]
pub fn reset(&mut self)
[src]
pub fn run(&mut self, limit: i64) -> i64
[src]
pub fn instances_iter(&self) -> impl Iterator<Item = Instance>
[src]
pub fn command_loop(&mut self)
[src]
pub fn route_command(&mut self, command: &str)
[src]
pub fn add_udf(
&mut self,
name: &str,
return_types: Option<Type>,
min_args: u16,
max_args: u16,
arg_types: Vec<Type>,
function: &dyn FnMut(&mut Self, &mut UDFContext) -> ClipsValue<'static>
) -> Result<(), ClipsError>
[src]
&mut self,
name: &str,
return_types: Option<Type>,
min_args: u16,
max_args: u16,
arg_types: Vec<Type>,
function: &dyn FnMut(&mut Self, &mut UDFContext) -> ClipsValue<'static>
) -> Result<(), ClipsError>
pub fn remove_udf(&mut self, name: &str) -> Result<(), ClipsError>
[src]
pub fn save_instances(&mut self, filename: &str, scope: SaveScope) -> i64
[src]
pub fn batch_star(&mut self, filename: &str) -> Result<(), ClipsError>
[src]
Trait Implementations
impl Debug for Environment
[src]
impl Drop for Environment
[src]
Auto Trait Implementations
impl RefUnwindSafe for Environment
impl !Send for Environment
impl !Sync for Environment
impl Unpin for Environment
impl UnwindSafe for Environment
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,
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, 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.
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>,