pub struct DependsRef {
pub name: String,
pub path: Option<String>,
pub url: Option<String>,
pub branch: Option<String>,
}Expand description
One entry under a package’s depends: list. Models a source / lib
dependency (think Linux kernel module SOFT_DEPS) — i.e. another
package whose codegen output / Python package this package needs at
build or import time. NOT a boot-order dependency.
name is required (the depended-on package’s package.name).
Exactly one of path / url should be set:
path: filesystem path relative to this package’s manifest dirurl: git URL (cloned to<pkg>/rbnx-build/deps/<name>/on first build) Neither set means “expect it to already be installed / on PYTHONPATH”.
Fields§
§name: String§path: Option<String>§url: Option<String>§branch: Option<String>Trait Implementations§
Source§impl Clone for DependsRef
impl Clone for DependsRef
Source§fn clone(&self) -> DependsRef
fn clone(&self) -> DependsRef
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 moreSource§impl Debug for DependsRef
impl Debug for DependsRef
Source§impl<'de> Deserialize<'de> for DependsRef
impl<'de> Deserialize<'de> for DependsRef
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 DependsRef
impl RefUnwindSafe for DependsRef
impl Send for DependsRef
impl Sync for DependsRef
impl Unpin for DependsRef
impl UnsafeUnpin for DependsRef
impl UnwindSafe for DependsRef
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