Trait ColShapy

Source
pub trait ColShapy<InheritPtrs>: BaseObjectInheritPtrs<InheritPtrs>
where InheritPtrs: ColShape,
{ // Provided methods fn raw_ptr(&self) -> Result<*mut IColShape, Error> { ... } fn players_only(&self) -> Result<bool, Error> { ... } fn set_players_only(&self, state: bool) -> Result<(), Error> { ... } fn is_point_in(&self, point: impl Into<Vector3>) -> Result<bool, Error> { ... } fn is_entity_in(&self, entity: impl Into<AnyEntity>) -> Result<bool, Error> { ... } fn is_entity_id_in(&self, id: u16) -> Result<bool, Error> { ... } fn col_shape_type(&self) -> Result<ColShapeType, Error> { ... } }

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl ColShapy<WorldColShape> for BaseObjectWrapper<ICheckpoint, WorldColShape>

Source§

impl ColShapy<WorldColShape> for BaseObjectWrapper<IColShape, WorldColShape>