[−][src]Struct ice_rs::slice::module::Module
Fields
name: Stringfull_name: Stringsub_modules: Vec<Module>Implementations
impl Module[src]
pub fn new() -> Module[src]
pub fn has_dict(&self) -> bool[src]
pub fn snake_name(&self) -> String[src]
pub fn add_sub_module(
&mut self,
name: &str
) -> Result<&mut Module, Box<dyn Error>>[src]
&mut self,
name: &str
) -> Result<&mut Module, Box<dyn Error>>
pub fn add_enum(&mut self, enumeration: Enum)[src]
pub fn add_struct(&mut self, structure: Struct)[src]
pub fn add_interface(&mut self, interface: Interface)[src]
pub fn add_exception(&mut self, exception: Exception)[src]
pub fn add_typedef(&mut self, id: &str, vartype: IceType)[src]
pub fn add_class(&mut self, class: Class)[src]
pub fn generate(&self, dest: &Path) -> Result<(), Box<dyn Error>>[src]
Trait Implementations
impl ParsedModule for Module[src]
Auto Trait Implementations
impl RefUnwindSafe for Module[src]
impl Send for Module[src]
impl Sync for Module[src]
impl Unpin for Module[src]
impl UnwindSafe for Module[src]
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,
pub 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.
pub 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>,