pub struct VTableView<T>(/* private fields */);Expand description
A typed view of a ValueVTable.
Implementations§
Source§impl<'a, T: Facet<'a>> VTableView<T>
impl<'a, T: Facet<'a>> VTableView<T>
Sourcepub fn type_name(self) -> TypeNameFn
pub fn type_name(self) -> TypeNameFn
cf. TypeNameFn
Sourcepub fn invariants(self) -> Option<InvariantsFnTyped<T>>
pub fn invariants(self) -> Option<InvariantsFnTyped<T>>
cf. InvariantsFn
Sourcepub fn display(self) -> Option<DisplayFnTyped<T>>
pub fn display(self) -> Option<DisplayFnTyped<T>>
cf. DisplayFn
Sourcepub fn debug(self) -> Option<DebugFnTyped<T>>
pub fn debug(self) -> Option<DebugFnTyped<T>>
cf. DebugFn
Sourcepub fn default_in_place(self) -> Option<DefaultInPlaceFnTyped<T>>
pub fn default_in_place(self) -> Option<DefaultInPlaceFnTyped<T>>
cf. DefaultInPlaceFn
Sourcepub fn clone_into(self) -> Option<CloneIntoFnTyped<T>>
pub fn clone_into(self) -> Option<CloneIntoFnTyped<T>>
cf. CloneIntoFn
Sourcepub fn eq(self) -> Option<PartialEqFnTyped<T>>
pub fn eq(self) -> Option<PartialEqFnTyped<T>>
cf. PartialEqFn for equality comparison
Sourcepub fn partial_ord(self) -> Option<PartialOrdFnTyped<T>>
pub fn partial_ord(self) -> Option<PartialOrdFnTyped<T>>
cf. PartialOrdFn for partial ordering comparison
Sourcepub fn ord(self) -> Option<CmpFnTyped<T>>
pub fn ord(self) -> Option<CmpFnTyped<T>>
cf. CmpFn for total ordering
Sourcepub fn hash(self) -> Option<HashFnTyped<T>>
pub fn hash(self) -> Option<HashFnTyped<T>>
cf. HashFn
Sourcepub fn parse(self) -> Option<ParseFnTyped<T>>
pub fn parse(self) -> Option<ParseFnTyped<T>>
cf. ParseFn
Sourcepub fn try_from(self) -> Option<TryFromFnTyped<T>>
pub fn try_from(self) -> Option<TryFromFnTyped<T>>
cf. TryFromFn
This also acts as a “TryFromInner” — you can use it to go:
String=>Utf8PathBufString=>UuidT=>Option<T>T=>Arc<T>T=>NonZero<T>- etc.
Sourcepub fn try_into_inner(self) -> Option<TryIntoInnerFnTyped<T>>
pub fn try_into_inner(self) -> Option<TryIntoInnerFnTyped<T>>
cf. TryIntoInnerFn
This is used by transparent types to convert the wrapper type into its inner value. Primarily used during serialization.
Sourcepub fn try_borrow_inner(self) -> Option<TryBorrowInnerFnTyped<T>>
pub fn try_borrow_inner(self) -> Option<TryBorrowInnerFnTyped<T>>
cf. TryBorrowInnerFn
This is used by transparent types to efficiently access the inner value without copying.
Trait Implementations§
Source§impl<T: Clone> Clone for VTableView<T>
impl<T: Clone> Clone for VTableView<T>
Source§fn clone(&self) -> VTableView<T>
fn clone(&self) -> VTableView<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 VTableView<T>
impl<T: Debug> Debug for VTableView<T>
Source§impl<T: Hash> Hash for VTableView<T>
impl<T: Hash> Hash for VTableView<T>
Source§impl<T: PartialEq> PartialEq for VTableView<T>
impl<T: PartialEq> PartialEq for VTableView<T>
impl<T: Copy> Copy for VTableView<T>
impl<T: Eq> Eq for VTableView<T>
impl<T> StructuralPartialEq for VTableView<T>
Auto Trait Implementations§
impl<T> Freeze for VTableView<T>
impl<T> RefUnwindSafe for VTableView<T>where
T: RefUnwindSafe,
impl<T> Send for VTableView<T>where
T: Send,
impl<T> Sync for VTableView<T>where
T: Sync,
impl<T> Unpin for VTableView<T>where
T: Unpin,
impl<T> UnwindSafe for VTableView<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