[−][src]Struct ncollide3d::utils::RefWithCost
A reference packed with a cost value.
Fields
object: &'a T
The reference to an object.
cost: N
The cost of the object.
Methods
impl<'a, N, T> RefWithCost<'a, N, T>
[src][−]
pub fn new(object: &'a T, cost: N) -> RefWithCost<'a, N, T>
[src][−]
Creates a new reference packed with a cost value.
Trait Implementations
impl<'a, N: PartialEq, T> Eq for RefWithCost<'a, N, T>
[src]
impl<'a, N: PartialOrd, T> Ord for RefWithCost<'a, N, T>
[src][+]
impl<'a, N: PartialEq, T> PartialEq<RefWithCost<'a, N, T>> for RefWithCost<'a, N, T>
[src][+]
impl<'a, N: PartialOrd, T> PartialOrd<RefWithCost<'a, N, T>> for RefWithCost<'a, N, T>
[src][+]
Auto Trait Implementations
impl<'a, N, T> RefUnwindSafe for RefWithCost<'a, N, T> where
N: RefUnwindSafe,
T: RefUnwindSafe,
N: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, N, T> Send for RefWithCost<'a, N, T> where
N: Send,
T: Sync,
N: Send,
T: Sync,
impl<'a, N, T> Sync for RefWithCost<'a, N, T> where
N: Sync,
T: Sync,
N: Sync,
T: Sync,
impl<'a, N, T> Unpin for RefWithCost<'a, N, T> where
N: Unpin,
N: Unpin,
impl<'a, N, T> UnwindSafe for RefWithCost<'a, N, T> where
N: UnwindSafe,
T: RefUnwindSafe,
N: UnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> Downcast for T where
T: Any,
[+]
T: Any,
impl<T> DowncastSync for T where
T: Send + Sync + Any,
[+]
T: Send + Sync + Any,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src][+]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[+]
SS: SubsetOf<SP>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[+]
V: MultiLane<T>,