pub struct ScalarField<T: Copy> { /* private fields */ }Expand description
A sub object which contains a single scalar value of type T, which is a standard rust type
Implementations§
Source§impl ScalarField<u8>
impl ScalarField<u8>
Source§impl ScalarField<u16>
impl ScalarField<u16>
Source§impl ScalarField<u32>
impl ScalarField<u32>
Source§impl ScalarField<i8>
impl ScalarField<i8>
Source§impl ScalarField<i16>
impl ScalarField<i16>
Source§impl ScalarField<i32>
impl ScalarField<i32>
Trait Implementations§
Source§impl SubObjectAccess for ScalarField<bool>
impl SubObjectAccess for ScalarField<bool>
Source§fn read(&self, offset: usize, buf: &mut [u8]) -> Result<usize, AbortCode>
fn read(&self, offset: usize, buf: &mut [u8]) -> Result<usize, AbortCode>
Read data from the sub object Read more
Source§fn begin_partial(&self) -> Result<(), AbortCode>
fn begin_partial(&self) -> Result<(), AbortCode>
Begin a multi-part write to the object Read more
Source§impl SubObjectAccess for ScalarField<f32>
impl SubObjectAccess for ScalarField<f32>
Source§fn read(&self, offset: usize, buf: &mut [u8]) -> Result<usize, AbortCode>
fn read(&self, offset: usize, buf: &mut [u8]) -> Result<usize, AbortCode>
Read data from the sub object Read more
Source§fn begin_partial(&self) -> Result<(), AbortCode>
fn begin_partial(&self) -> Result<(), AbortCode>
Begin a multi-part write to the object Read more
Source§impl SubObjectAccess for ScalarField<i16>
impl SubObjectAccess for ScalarField<i16>
Source§fn read(&self, offset: usize, buf: &mut [u8]) -> Result<usize, AbortCode>
fn read(&self, offset: usize, buf: &mut [u8]) -> Result<usize, AbortCode>
Read data from the sub object Read more
Source§fn begin_partial(&self) -> Result<(), AbortCode>
fn begin_partial(&self) -> Result<(), AbortCode>
Begin a multi-part write to the object Read more
Source§impl SubObjectAccess for ScalarField<i32>
impl SubObjectAccess for ScalarField<i32>
Source§fn read(&self, offset: usize, buf: &mut [u8]) -> Result<usize, AbortCode>
fn read(&self, offset: usize, buf: &mut [u8]) -> Result<usize, AbortCode>
Read data from the sub object Read more
Source§fn begin_partial(&self) -> Result<(), AbortCode>
fn begin_partial(&self) -> Result<(), AbortCode>
Begin a multi-part write to the object Read more
Source§impl SubObjectAccess for ScalarField<i8>
impl SubObjectAccess for ScalarField<i8>
Source§fn read(&self, offset: usize, buf: &mut [u8]) -> Result<usize, AbortCode>
fn read(&self, offset: usize, buf: &mut [u8]) -> Result<usize, AbortCode>
Read data from the sub object Read more
Source§fn begin_partial(&self) -> Result<(), AbortCode>
fn begin_partial(&self) -> Result<(), AbortCode>
Begin a multi-part write to the object Read more
Source§impl SubObjectAccess for ScalarField<u16>
impl SubObjectAccess for ScalarField<u16>
Source§fn read(&self, offset: usize, buf: &mut [u8]) -> Result<usize, AbortCode>
fn read(&self, offset: usize, buf: &mut [u8]) -> Result<usize, AbortCode>
Read data from the sub object Read more
Source§fn begin_partial(&self) -> Result<(), AbortCode>
fn begin_partial(&self) -> Result<(), AbortCode>
Begin a multi-part write to the object Read more
Source§impl SubObjectAccess for ScalarField<u32>
impl SubObjectAccess for ScalarField<u32>
Source§fn read(&self, offset: usize, buf: &mut [u8]) -> Result<usize, AbortCode>
fn read(&self, offset: usize, buf: &mut [u8]) -> Result<usize, AbortCode>
Read data from the sub object Read more
Source§fn begin_partial(&self) -> Result<(), AbortCode>
fn begin_partial(&self) -> Result<(), AbortCode>
Begin a multi-part write to the object Read more
Source§impl SubObjectAccess for ScalarField<u8>
impl SubObjectAccess for ScalarField<u8>
Source§fn read(&self, offset: usize, buf: &mut [u8]) -> Result<usize, AbortCode>
fn read(&self, offset: usize, buf: &mut [u8]) -> Result<usize, AbortCode>
Read data from the sub object Read more
Source§fn begin_partial(&self) -> Result<(), AbortCode>
fn begin_partial(&self) -> Result<(), AbortCode>
Begin a multi-part write to the object Read more
Auto Trait Implementations§
impl<T> !Freeze for ScalarField<T>
impl<T> !RefUnwindSafe for ScalarField<T>
impl<T> Send for ScalarField<T>where
T: Send,
impl<T> Sync for ScalarField<T>where
T: Send,
impl<T> Unpin for ScalarField<T>where
T: Unpin,
impl<T> UnwindSafe for ScalarField<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