Struct cargo_xcode::Generator
source · 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 RefUnwindSafe for Generator
impl Send for Generator
impl Sync for Generator
impl Unpin 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