pub struct BuiltInRegistry { /* private fields */ }Expand description
Registry of all built-in functions
Implementations§
Source§impl BuiltInRegistry
impl BuiltInRegistry
Sourcepub fn with_permissions(permissions: IOPermissions) -> Self
pub fn with_permissions(permissions: IOPermissions) -> Self
Create a new registry with custom permissions
Sourcepub fn get_doc(&self, name: &str) -> Option<&FunctionDoc>
pub fn get_doc(&self, name: &str) -> Option<&FunctionDoc>
获取函数文档
Sourcepub fn all_docs(&self) -> &HashMap<String, FunctionDoc>
pub fn all_docs(&self) -> &HashMap<String, FunctionDoc>
获取所有文档
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BuiltInRegistry
impl RefUnwindSafe for BuiltInRegistry
impl Send for BuiltInRegistry
impl Sync for BuiltInRegistry
impl Unpin for BuiltInRegistry
impl UnwindSafe for BuiltInRegistry
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