pub struct LangModuleConfiguration { /* private fields */ }
Implementations§
Source§impl LangModuleConfiguration
impl LangModuleConfiguration
pub fn parse_lmc(lmc: &str) -> Result<Self, InvalidModuleConfigurationException>
pub fn new( name: Box<str>, description: Option<Box<str>>, version: Option<Box<str>>, min_supported_version: Option<Box<str>>, max_supported_version: Option<Box<str>>, supported_implementations: Option<Box<[Box<str>]>>, module_type: ModuleType, native_entry_point: Option<Box<str>>, ) -> Self
pub fn name(&self) -> &str
pub fn description(&self) -> Option<&str>
pub fn version(&self) -> Option<&str>
pub fn min_supported_version(&self) -> Option<&str>
pub fn max_supported_version(&self) -> Option<&str>
pub fn supported_implementations(&self) -> Option<&[Box<str>]>
pub fn module_type(&self) -> ModuleType
pub fn native_entry_point(&self) -> Option<&str>
Trait Implementations§
Source§impl Clone for LangModuleConfiguration
impl Clone for LangModuleConfiguration
Source§fn clone(&self) -> LangModuleConfiguration
fn clone(&self) -> LangModuleConfiguration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for LangModuleConfiguration
impl RefUnwindSafe for LangModuleConfiguration
impl Send for LangModuleConfiguration
impl Sync for LangModuleConfiguration
impl Unpin for LangModuleConfiguration
impl UnwindSafe for LangModuleConfiguration
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