pub struct BallCollisionCylinder {
pub axis: BallCollisionCylinderAxis,
pub center: Vec3,
pub radius: f32,
pub min_axis: f32,
pub max_axis: f32,
}Fields§
§axis: BallCollisionCylinderAxis§center: Vec3§radius: f32§min_axis: f32§max_axis: f32Implementations§
Source§impl BallCollisionCylinder
impl BallCollisionCylinder
pub const fn new( axis: BallCollisionCylinderAxis, center: Vec3, radius: f32, min_axis: f32, max_axis: f32, ) -> Self
pub const fn standard_positive_goal_left_post() -> Self
pub const fn standard_positive_goal_right_post() -> Self
pub const fn standard_negative_goal_left_post() -> Self
pub const fn standard_negative_goal_right_post() -> Self
pub const fn standard_positive_goal_crossbar() -> Self
pub const fn standard_negative_goal_crossbar() -> Self
Trait Implementations§
Source§impl Clone for BallCollisionCylinder
impl Clone for BallCollisionCylinder
Source§fn clone(&self) -> BallCollisionCylinder
fn clone(&self) -> BallCollisionCylinder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BallCollisionCylinder
Source§impl Debug for BallCollisionCylinder
impl Debug for BallCollisionCylinder
Source§impl From<BallCollisionCylinder> for BallCollisionSurface
impl From<BallCollisionCylinder> for BallCollisionSurface
Source§fn from(cylinder: BallCollisionCylinder) -> Self
fn from(cylinder: BallCollisionCylinder) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BallCollisionCylinder
impl PartialEq for BallCollisionCylinder
Source§fn eq(&self, other: &BallCollisionCylinder) -> bool
fn eq(&self, other: &BallCollisionCylinder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BallCollisionCylinder
Auto Trait Implementations§
impl Freeze for BallCollisionCylinder
impl RefUnwindSafe for BallCollisionCylinder
impl Send for BallCollisionCylinder
impl Sync for BallCollisionCylinder
impl Unpin for BallCollisionCylinder
impl UnsafeUnpin for BallCollisionCylinder
impl UnwindSafe for BallCollisionCylinder
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