Skip to main content

StrategyId

Struct StrategyId 

pub struct StrategyId(/* private fields */);

Implementations§

§

impl StrategyId

pub const fn new(value: u64) -> Self

pub const fn get(self) -> u64

Trait Implementations§

§

impl Clone for StrategyId

§

fn clone(&self) -> StrategyId

1.0.0 (const: )§

fn clone_from(&mut self, source: &Self)

§

impl Debug for StrategyId

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

§

impl Hash for StrategyId

§

fn hash<__H: Hasher>(&self, state: &mut __H)

1.3.0§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

§

impl Ord for StrategyId

§

fn cmp(&self, other: &StrategyId) -> Ordering

1.21.0 (const: )§

fn max(self, other: Self) -> Self
where Self: Sized,

1.21.0 (const: )§

fn min(self, other: Self) -> Self
where Self: Sized,

1.50.0 (const: )§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

§

impl PartialEq for StrategyId

§

fn eq(&self, other: &StrategyId) -> bool

1.0.0 (const: )§

fn ne(&self, other: &Rhs) -> bool

§

impl PartialOrd for StrategyId

§

fn partial_cmp(&self, other: &StrategyId) -> Option<Ordering>

1.0.0 (const: )§

fn lt(&self, other: &Rhs) -> bool

1.0.0 (const: )§

fn le(&self, other: &Rhs) -> bool

1.0.0 (const: )§

fn gt(&self, other: &Rhs) -> bool

1.0.0 (const: )§

fn ge(&self, other: &Rhs) -> bool

§

impl Copy for StrategyId

§

impl Eq for StrategyId

§

impl StructuralPartialEq for StrategyId

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
§

impl<T> From<T> for T

§

fn from(t: T) -> T

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

§

impl<T> IntoEither for T

§

fn into_either(self, into_left: bool) -> Either<Self, Self>

§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

§

impl<T> Pointable for T

§

const ALIGN: usize

§

type Init = T

§

unsafe fn init(init: <T as Pointable>::Init) -> usize

§

unsafe fn deref<'a>(ptr: usize) -> &'a T

§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

§

unsafe fn drop(ptr: usize)

§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

§

fn to_owned(&self) -> T

§

fn clone_into(&self, target: &mut T)

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>