pub struct AdjacentType(pub u8);Tuple Fields§
§0: u8Trait Implementations§
Source§impl Attribute for AdjacentType
impl Attribute for AdjacentType
Source§impl Clone for AdjacentType
impl Clone for AdjacentType
Source§fn clone(&self) -> AdjacentType
fn clone(&self) -> AdjacentType
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 AdjacentType
Source§impl Debug for AdjacentType
impl Debug for AdjacentType
Source§impl Default for AdjacentType
impl Default for AdjacentType
Source§impl<'de> Deserialize<'de> for AdjacentType
impl<'de> Deserialize<'de> for AdjacentType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AdjacentType
Source§impl From<RelativeNeighborPosition> for AdjacentType
impl From<RelativeNeighborPosition> for AdjacentType
Source§fn from(value: RelativeNeighborPosition) -> Self
fn from(value: RelativeNeighborPosition) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AdjacentType
impl PartialEq for AdjacentType
Source§fn eq(&self, other: &AdjacentType) -> bool
fn eq(&self, other: &AdjacentType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AdjacentType
Auto Trait Implementations§
impl Freeze for AdjacentType
impl RefUnwindSafe for AdjacentType
impl Send for AdjacentType
impl Sync for AdjacentType
impl Unpin for AdjacentType
impl UnsafeUnpin for AdjacentType
impl UnwindSafe for AdjacentType
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> Event for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Resource for T
impl<T> Storable for T
Source§impl<Context> SubContext<Context> for Context
impl<Context> SubContext<Context> for Context
fn sub_context(self) -> Context
§impl<T> TryDefault for Twhere
T: Default,
impl<T> TryDefault for Twhere
T: Default,
§fn try_default() -> Result<T, String>
fn try_default() -> Result<T, String>
Tries to create the default.
§fn unwrap_default() -> Self
fn unwrap_default() -> Self
Calls
try_default and panics on an error case.