pub struct Bundle {
pub name: &'static str,
pub data: BundleData,
}
Fields§
§name: &'static str
§data: BundleData
Implementations§
Trait Implementations§
source§impl ConvertFrom<AnyExpr> for Bundle
impl ConvertFrom<AnyExpr> for Bundle
source§impl ConvertFrom<Expr<PointCollection>> for Bundle
impl ConvertFrom<Expr<PointCollection>> for Bundle
source§fn convert_from(value: Expr<PointCollection>) -> Result<Expr<Self>, Error>
fn convert_from(value: Expr<PointCollection>) -> Result<Expr<Self>, Error>
Errors Read more
source§impl Definition for Bundle
impl Definition for Bundle
source§fn order(&self, context: &CompileContext) -> usize
fn order(&self, context: &CompileContext) -> usize
Get the complexity order (how much adjustment is done to this entity).
source§fn contains_entity(&self, entity: usize, context: &CompileContext) -> bool
fn contains_entity(&self, entity: usize, context: &CompileContext) -> bool
Check if the object contains an entity
source§impl GetValueType for Bundle
impl GetValueType for Bundle
fn get_value_type(&self) -> Type
Auto Trait Implementations§
impl !RefUnwindSafe for Bundle
impl !Send for Bundle
impl !Sync for Bundle
impl Unpin for Bundle
impl !UnwindSafe for Bundle
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