Struct HashBridge

Source
pub struct HashBridge<const NAME_HASH: u64, const FILE_NAME_HASH: u64, const COLUMN: u32, const LINE: u32, U> { /* private fields */ }

Implementations§

Source§

impl<const NAME_HASH: u64, const FILE_NAME_HASH: u64, const COLUMN: u32, const LINE: u32, U> HashBridge<NAME_HASH, FILE_NAME_HASH, COLUMN, LINE, U>

Source

pub const fn new() -> Self

Trait Implementations§

Source§

impl<const NAME_HASH: u64, const FILE_NAME_HASH: u64, const COLUMN: u32, const LINE: u32, U> Debug for HashBridge<NAME_HASH, FILE_NAME_HASH, COLUMN, LINE, U>

Source§

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

Formats the value using the given formatter. Read more
Source§

impl<const NAME_HASH: u64, const FILE_NAME_HASH: u64, const COLUMN: u32, const LINE: u32, U> Default for HashBridge<NAME_HASH, FILE_NAME_HASH, COLUMN, LINE, U>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<U: HashBridgeBridge<NAME_HASH, FILE_NAME_HASH, COLUMN, LINE>, const NAME_HASH: u64, const FILE_NAME_HASH: u64, const COLUMN: u32, const LINE: u32> PrimitiveTraits for HashBridge<NAME_HASH, FILE_NAME_HASH, COLUMN, LINE, U>

Source§

const __DATA: Self::DATATYPE = U::DATA

Source§

type DATATYPE = <U as HashBridgeBridge<NAME_HASH, FILE_NAME_HASH, COLUMN, LINE>>::DATATYPE

Auto Trait Implementations§

§

impl<const NAME_HASH: u64, const FILE_NAME_HASH: u64, const COLUMN: u32, const LINE: u32, U> Freeze for HashBridge<NAME_HASH, FILE_NAME_HASH, COLUMN, LINE, U>

§

impl<const NAME_HASH: u64, const FILE_NAME_HASH: u64, const COLUMN: u32, const LINE: u32, U> RefUnwindSafe for HashBridge<NAME_HASH, FILE_NAME_HASH, COLUMN, LINE, U>
where U: RefUnwindSafe,

§

impl<const NAME_HASH: u64, const FILE_NAME_HASH: u64, const COLUMN: u32, const LINE: u32, U> Send for HashBridge<NAME_HASH, FILE_NAME_HASH, COLUMN, LINE, U>
where U: Send,

§

impl<const NAME_HASH: u64, const FILE_NAME_HASH: u64, const COLUMN: u32, const LINE: u32, U> Sync for HashBridge<NAME_HASH, FILE_NAME_HASH, COLUMN, LINE, U>
where U: Sync,

§

impl<const NAME_HASH: u64, const FILE_NAME_HASH: u64, const COLUMN: u32, const LINE: u32, U> Unpin for HashBridge<NAME_HASH, FILE_NAME_HASH, COLUMN, LINE, U>
where U: Unpin,

§

impl<const NAME_HASH: u64, const FILE_NAME_HASH: u64, const COLUMN: u32, const LINE: u32, U> UnwindSafe for HashBridge<NAME_HASH, FILE_NAME_HASH, COLUMN, LINE, U>
where U: UnwindSafe,

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> BoolTy for T
where T: PrimitiveTraits<DATATYPE = bool>,

Source§

const __DATA: bool = const __DATA: bool = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: bool = <Self as BoolTy>::__DATA

Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CharTy for T
where T: PrimitiveTraits<DATATYPE = char>,

Source§

const __DATA: char = const __DATA: char = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: char = <Self as CharTy>::__DATA

Source§

impl<T> F32Ty for T
where T: PrimitiveTraits<DATATYPE = f32>,

Source§

const __DATA: f32 = const __DATA: f32 = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: f32 = <Self as F32Ty>::__DATA

Source§

impl<T> F64Ty for T
where T: PrimitiveTraits<DATATYPE = f64>,

Source§

const __DATA: f64 = const __DATA: f64 = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: f64 = <Self as F64Ty>::__DATA

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> I128Ty for T
where T: PrimitiveTraits<DATATYPE = i128>,

Source§

const __DATA: i128 = const __DATA: i128 = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: i128 = <Self as I128Ty>::__DATA

Source§

impl<T> I16Ty for T
where T: PrimitiveTraits<DATATYPE = i16>,

Source§

const __DATA: i16 = const __DATA: i16 = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: i16 = <Self as I16Ty>::__DATA

Source§

impl<T> I32Ty for T
where T: PrimitiveTraits<DATATYPE = i32>,

Source§

const __DATA: i32 = const __DATA: i32 = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: i32 = <Self as I32Ty>::__DATA

Source§

impl<T> I64Ty for T
where T: PrimitiveTraits<DATATYPE = i64>,

Source§

const __DATA: i64 = const __DATA: i64 = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: i64 = <Self as I64Ty>::__DATA

Source§

impl<T> I8Ty for T
where T: PrimitiveTraits<DATATYPE = i8>,

Source§

const __DATA: i8 = const __DATA: i8 = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: i8 = <Self as I8Ty>::__DATA

Source§

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

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IsizeTy for T
where T: PrimitiveTraits<DATATYPE = isize>,

Source§

const __DATA: isize = const __DATA: isize = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: isize = <Self as IsizeTy>::__DATA

Source§

impl<U, T> OptionTy<T> for U
where U: PrimitiveTraits<DATATYPE = Option<T>>,

Source§

const __DATA: Option<T> = const __DATA: Option<T> = <U as PrimitiveTraits>::__DATA;

Source§

const VALUE: Option<T> = _

Source§

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

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

impl<T, A> TupleTy<(A,)> for T
where T: PrimitiveTraits<DATATYPE = (A,)>,

Source§

const __DATA: (A,) = const __DATA: (A,) = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: T = Self::__DATA

Source§

impl<T, A, B> TupleTy<(A, B)> for T
where T: PrimitiveTraits<DATATYPE = (A, B)>,

Source§

const __DATA: (A, B) = const __DATA: (A, B) = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: T = Self::__DATA

Source§

impl<T, A, B, C> TupleTy<(A, B, C)> for T
where T: PrimitiveTraits<DATATYPE = (A, B, C)>,

Source§

const __DATA: (A, B, C) = const __DATA: (A, B, C) = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: T = Self::__DATA

Source§

impl<T, A, B, C, D> TupleTy<(A, B, C, D)> for T
where T: PrimitiveTraits<DATATYPE = (A, B, C, D)>,

Source§

const __DATA: (A, B, C, D) = const __DATA: (A, B, C, D) = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: T = Self::__DATA

Source§

impl<T, A, B, C, D, E> TupleTy<(A, B, C, D, E)> for T
where T: PrimitiveTraits<DATATYPE = (A, B, C, D, E)>,

Source§

const __DATA: (A, B, C, D, E) = const __DATA: (A, B, C, D, E) = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: T = Self::__DATA

Source§

impl<T, A, B, C, D, E, F> TupleTy<(A, B, C, D, E, F)> for T
where T: PrimitiveTraits<DATATYPE = (A, B, C, D, E, F)>,

Source§

const __DATA: (A, B, C, D, E, F) = const __DATA: (A, B, C, D, E, F) = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: T = Self::__DATA

Source§

impl<T, A, B, C, D, E, F, G> TupleTy<(A, B, C, D, E, F, G)> for T

Source§

const __DATA: (A, B, C, D, E, F, G) = const __DATA: (A, B, C, D, E, F, G) = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: T = Self::__DATA

Source§

impl<T, A, B, C, D, E, F, G, H> TupleTy<(A, B, C, D, E, F, G, H)> for T

Source§

const __DATA: (A, B, C, D, E, F, G, H) = const __DATA: (A, B, C, D, E, F, G, H) = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: T = Self::__DATA

Source§

impl<T, A, B, C, D, E, F, G, H, I> TupleTy<(A, B, C, D, E, F, G, H, I)> for T

Source§

const __DATA: (A, B, C, D, E, F, G, H, I) = const __DATA: (A, B, C, D, E, F, G, H, I) = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: T = Self::__DATA

Source§

impl<T, A, B, C, D, E, F, G, H, I, J> TupleTy<(A, B, C, D, E, F, G, H, I, J)> for T

Source§

const __DATA: (A, B, C, D, E, F, G, H, I, J) = const __DATA: (A, B, C, D, E, F, G, H, I, J) = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: T = Self::__DATA

Source§

impl<T> U128Ty for T
where T: PrimitiveTraits<DATATYPE = u128>,

Source§

const __DATA: u128 = const __DATA: u128 = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: u128 = <Self as U128Ty>::__DATA

Source§

impl<T> U16Ty for T
where T: PrimitiveTraits<DATATYPE = u16>,

Source§

const __DATA: u16 = const __DATA: u16 = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: u16 = <Self as U16Ty>::__DATA

Source§

impl<T> U32Ty for T
where T: PrimitiveTraits<DATATYPE = u32>,

Source§

const __DATA: u32 = const __DATA: u32 = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: u32 = <Self as U32Ty>::__DATA

Source§

impl<T> U64Ty for T
where T: PrimitiveTraits<DATATYPE = u64>,

Source§

const __DATA: u64 = const __DATA: u64 = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: u64 = <Self as U64Ty>::__DATA

Source§

impl<T> U8Ty for T
where T: PrimitiveTraits<DATATYPE = u8>,

Source§

const __DATA: u8 = const __DATA: u8 = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: u8 = <Self as U8Ty>::__DATA

Source§

impl<T> UsizeTy for T
where T: PrimitiveTraits<DATATYPE = usize>,

Source§

const __DATA: usize = const __DATA: usize = <T as PrimitiveTraits>::__DATA;

Source§

const VALUE: usize = <Self as UsizeTy>::__DATA