pub struct DebugHandle { /* private fields */ }

Implementations§

Trait Implementations§

source§

impl Clone for DebugHandle

source§

fn clone(&self) -> DebugHandle

Returns a copy of the value. Read more
1.0.0 · source§

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

Performs copy-assignment from source. Read more
source§

impl Debug for DebugHandle

source§

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

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

impl From<i32> for DebugHandle

source§

fn from(handle: i32) -> Self

Converts to this type from the input type.
source§

impl HandleConstraints for DebugHandle

source§

fn new(handle: RawHandle) -> Self

source§

fn to_be_bytes(&self) -> [u8; 4]

source§

fn get_raw_handle(&self) -> RawHandle

source§

fn get_raw_handle_unchecked(&self) -> RawHandle

source§

fn cast_or_signal_error<E, U>(self) -> U
where E: ErrorApi, U: TryStaticCast,

source§

impl ManagedVecItem for DebugHandle

source§

const PAYLOAD_SIZE: usize = 4usize

Size of the data stored in the underlying ManagedBuffer.
source§

const SKIPS_RESERIALIZATION: bool = true

If true, then the encoding of the item is identical to the payload, and no further conversion is necessary (the underlying buffer can be used as-is during serialization). False for all managed types, but true for basic types (like u32).
§

type Ref<'a> = DebugHandle

Reference representation of the ManagedVec item. Read more
source§

fn from_byte_reader<Reader: FnMut(&mut [u8])>(reader: Reader) -> Self

Parses given bytes as a an owned object.
source§

unsafe fn from_byte_reader_as_borrow<'a, Reader: FnMut(&mut [u8])>( reader: Reader ) -> Self::Ref<'a>

Parses given bytes as a representation of the object, either owned, or a reference. Read more
source§

fn to_byte_writer<R, Writer: FnMut(&[u8]) -> R>(&self, writer: Writer) -> R

source§

impl PartialEq<i32> for DebugHandle

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq for DebugHandle

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl TryStaticCast for DebugHandle

§

fn type_eq<U>() -> bool
where U: TryStaticCast,

§

fn try_cast<U>(self) -> Option<U>
where U: TryStaticCast,

§

fn try_cast_ref<U>(&self) -> Option<&U>
where U: TryStaticCast,

Auto Trait Implementations§

§

impl !CodecFromSelf for DebugHandle

§

impl !RefUnwindSafe for DebugHandle

§

impl Send for DebugHandle

§

impl Sync for DebugHandle

§

impl Unpin for DebugHandle

§

impl !UnwindSafe for DebugHandle

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> 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> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T> InterpretableFrom<&T> for T
where T: Clone,

source§

fn interpret_from(from: &T, _context: &InterpreterContext) -> T

source§

impl<T> InterpretableFrom<T> for T

source§

fn interpret_from(from: T, _context: &InterpreterContext) -> T

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> ReconstructableFrom<&T> for T
where T: Clone,

source§

impl<T> ReconstructableFrom<T> for T

source§

fn reconstruct_from(from: T, _builder: &ReconstructorContext) -> T

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

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

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

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

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

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>,

§

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.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more