pub struct BuildFile { /* private fields */ }
Implementations§
Source§impl BuildFile
impl BuildFile
pub fn from_file<T: AsRef<Path>>(filepath: &T) -> Result<BuildFile, YabsError>
pub fn print_sources(&mut self)
pub fn build_static_library(&self, library: &Library) -> Result<(), YabsError>
pub fn build_dynamic_library(&self, library: &Library) -> Result<(), YabsError>
pub fn build_library(&self, library: &Library) -> Result<(), YabsError>
pub fn build_library_with_name( &mut self, name: &str, jobs: usize, ) -> Result<(), YabsError>
pub fn build_binary_with_name( &mut self, name: &str, jobs: usize, ) -> Result<(), YabsError>
pub fn build_all_libraries(&mut self, jobs: usize) -> Result<(), YabsError>
pub fn build(&mut self, jobs: usize) -> Result<(), YabsError>
pub fn clean(&self) -> Result<(), YabsError>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BuildFile
impl<'de> Deserialize<'de> for BuildFile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BuildFile
impl RefUnwindSafe for BuildFile
impl Send for BuildFile
impl Sync for BuildFile
impl Unpin for BuildFile
impl UnwindSafe for BuildFile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)