Struct muse_lang::vm::bitcode::Accessable
source · pub struct Accessable<T> {
pub access: Access,
pub accessable: T,
}Expand description
A type that has an access field.
Fields§
§access: AccessThe access of the item.
accessable: TThe item having its access controlled.
Trait Implementations§
source§impl<T: Clone> Clone for Accessable<T>
impl<T: Clone> Clone for Accessable<T>
source§fn clone(&self) -> Accessable<T>
fn clone(&self) -> Accessable<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<T: Debug> Debug for Accessable<T>
impl<T: Debug> Debug for Accessable<T>
source§impl<'de, T> Deserialize<'de> for Accessable<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Accessable<T>where
T: Deserialize<'de>,
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
source§impl<T: Ord> Ord for Accessable<T>
impl<T: Ord> Ord for Accessable<T>
source§fn cmp(&self, other: &Accessable<T>) -> Ordering
fn cmp(&self, other: &Accessable<T>) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<T: PartialEq> PartialEq for Accessable<T>
impl<T: PartialEq> PartialEq for Accessable<T>
source§impl<T: PartialOrd> PartialOrd for Accessable<T>
impl<T: PartialOrd> PartialOrd for Accessable<T>
source§impl<T> Serialize for Accessable<T>where
T: Serialize,
impl<T> Serialize for Accessable<T>where
T: Serialize,
source§impl<T: Trace + Send + Sync + 'static> Trace for Accessable<T>
impl<T: Trace + Send + Sync + 'static> Trace for Accessable<T>
impl<T: Copy> Copy for Accessable<T>
impl<T: Eq> Eq for Accessable<T>
impl<T> StructuralPartialEq for Accessable<T>
Auto Trait Implementations§
impl<T> Freeze for Accessable<T>where
T: Freeze,
impl<T> RefUnwindSafe for Accessable<T>where
T: RefUnwindSafe,
impl<T> Send for Accessable<T>where
T: Send,
impl<T> Sync for Accessable<T>where
T: Sync,
impl<T> Unpin for Accessable<T>where
T: Unpin,
impl<T> UnwindSafe for Accessable<T>where
T: UnwindSafe,
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<A> Cast for A
impl<A> Cast for A
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§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
Checks if this value is equivalent to the given key. Read more