[−][src]Struct r3::kernel::cfg::CfgHunkBuilder
Configuration builder type for Hunk
.
Implementations
impl<System: Port> CfgHunkBuilder<System>
[src]
pub const fn len(self, len: usize) -> Self
[src]
Specify the element count. Defaults to 1
. Must be 1
for a non-array
hunk.
pub const fn align(self, align: usize) -> Self
[src]
Specify the minimum alignment. Defaults to 1
.
impl<System: Port> CfgHunkBuilder<System>
[src]
pub const fn finish(self, cfg: &mut CfgBuilder<System>) -> Hunk<System>
[src]
Complete the definition of a hunk, returning a reference to the hunk.
Auto Trait Implementations
impl<System> Send for CfgHunkBuilder<System> where
System: Send,
[src]
System: Send,
impl<System> Sync for CfgHunkBuilder<System> where
System: Sync,
[src]
System: Sync,
impl<System> Unpin for CfgHunkBuilder<System> where
System: Unpin,
[src]
System: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,