pub struct BuildContext { /* private fields */ }
Implementations§
Source§impl BuildContext
impl BuildContext
pub fn new( current_target_info: &'static TargetInfo, features: Vec<CargoFeature>, target_features: Vec<String>, ) -> Self
Trait Implementations§
Source§impl Clone for BuildContext
impl Clone for BuildContext
Source§fn clone(&self) -> BuildContext
fn clone(&self) -> BuildContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for BuildContext
impl RefUnwindSafe for BuildContext
impl Send for BuildContext
impl Sync for BuildContext
impl Unpin for BuildContext
impl UnwindSafe for BuildContext
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