pub struct Build {
pub version: Version,
pub binary: PathBuf,
pub directory: PathBuf,
pub is_debug: bool,
pub is_thread_safety_enabled: bool,
pub php_api: u32,
pub zend_api: u32,
}
Expand description
Represents a PHP build.
Fields§
§version: Version
§binary: PathBuf
§directory: PathBuf
§is_debug: bool
§is_thread_safety_enabled: bool
§php_api: u32
§zend_api: u32
Implementations§
Source§impl Build
impl Build
pub fn from_binary<P: AsRef<Path>>(binary: P) -> Result<Self, InstallationError>
Trait Implementations§
impl Eq for Build
impl StructuralPartialEq for Build
Auto Trait Implementations§
impl Freeze for Build
impl RefUnwindSafe for Build
impl Send for Build
impl Sync for Build
impl Unpin for Build
impl UnwindSafe for Build
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