pub struct FunctionRegistry { /* private fields */ }
Implementations§
Source§impl FunctionRegistry
impl FunctionRegistry
pub fn register( &mut self, function_id: &str, function_descriptor: impl FluentFunctionDescriptor, ) -> &Self
Trait Implementations§
Source§impl Default for FunctionRegistry
impl Default for FunctionRegistry
Auto Trait Implementations§
impl Freeze for FunctionRegistry
impl RefUnwindSafe for FunctionRegistry
impl !Send for FunctionRegistry
impl !Sync for FunctionRegistry
impl Unpin for FunctionRegistry
impl UnwindSafe for FunctionRegistry
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