Struct planus_buffer_inspection::ArrayObject
source · pub struct ArrayObject<'a> {
pub offset: ByteIndex,
pub type_: &'a Type,
pub size: u32,
}Fields§
§offset: ByteIndex§type_: &'a Type§size: u32Implementations§
source§impl<'a> ArrayObject<'a>
impl<'a> ArrayObject<'a>
pub fn type_name(&self, declarations: &Declarations) -> String
Trait Implementations§
source§impl<'a> Byterange for ArrayObject<'a>
impl<'a> Byterange for ArrayObject<'a>
source§impl<'a> Children<'a> for ArrayObject<'a>
impl<'a> Children<'a> for ArrayObject<'a>
source§impl<'a> Clone for ArrayObject<'a>
impl<'a> Clone for ArrayObject<'a>
source§fn clone(&self) -> ArrayObject<'a>
fn clone(&self) -> ArrayObject<'a>
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<'a> Debug for ArrayObject<'a>
impl<'a> Debug for ArrayObject<'a>
source§impl<'a> Hash for ArrayObject<'a>
impl<'a> Hash for ArrayObject<'a>
source§impl<'a> ObjectName<'a> for ArrayObject<'a>
impl<'a> ObjectName<'a> for ArrayObject<'a>
fn print_object(&self, _buffer: &InspectableFlatbuffer<'a>) -> String
source§impl<'a> PartialEq<ArrayObject<'a>> for ArrayObject<'a>
impl<'a> PartialEq<ArrayObject<'a>> for ArrayObject<'a>
source§fn eq(&self, other: &ArrayObject<'a>) -> bool
fn eq(&self, other: &ArrayObject<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a> Copy for ArrayObject<'a>
impl<'a> Eq for ArrayObject<'a>
impl<'a> StructuralEq for ArrayObject<'a>
impl<'a> StructuralPartialEq for ArrayObject<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ArrayObject<'a>
impl<'a> Send for ArrayObject<'a>
impl<'a> Sync for ArrayObject<'a>
impl<'a> Unpin for ArrayObject<'a>
impl<'a> UnwindSafe for ArrayObject<'a>
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.