pub struct Generator { /* private fields */ }Implementations§
Source§impl Generator
impl Generator
pub fn new( package: Package, output_dir: Option<&Path>, custom_project_name: Option<String>, ) -> Result<Self>
pub fn skip_install(&mut self, in_binaries_too: bool)
pub fn nightly(&mut self, use_rustup_nightly: bool)
pub fn xcconfigs(&mut self, xcconfigs: Vec<String>)
pub fn platforms(&mut self, allowed_platforms: Option<Vec<String>>)
pub fn features(&mut self, features: &str, default_features: bool)
pub fn write_pbxproj(&self) -> Result<PathBuf, Error>
pub fn pbxproj(&self) -> Result<String, Error>
Auto Trait Implementations§
impl Freeze for Generator
impl RefUnwindSafe for Generator
impl Send for Generator
impl Sync for Generator
impl Unpin for Generator
impl UnsafeUnpin for Generator
impl UnwindSafe for Generator
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