pub struct GenerateOptions {
pub side: GenerateSide,
pub namespace_prefix: Option<String>,
pub include_prefix: String,
pub library_name: String,
}Fields§
§side: GenerateSide§namespace_prefix: Option<String>§include_prefix: String§library_name: StringImplementations§
Source§impl GenerateOptions
impl GenerateOptions
pub fn from_cli_opts(opts: &[String]) -> Result<Self, GenerateError>
Trait Implementations§
Source§impl Clone for GenerateOptions
impl Clone for GenerateOptions
Source§impl Debug for GenerateOptions
impl Debug for GenerateOptions
Auto Trait Implementations§
impl Freeze for GenerateOptions
impl RefUnwindSafe for GenerateOptions
impl Send for GenerateOptions
impl Sync for GenerateOptions
impl Unpin for GenerateOptions
impl UnsafeUnpin for GenerateOptions
impl UnwindSafe for GenerateOptions
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