pub struct KernelParam {
pub name: String,
pub ty: Type,
pub address_space: AddressSpace,
}Expand description
A kernel parameter with name, type, and address space.
Fields§
§name: StringParameter name.
ty: TypeParameter type.
address_space: AddressSpaceAddress space for pointer parameters.
Trait Implementations§
Source§impl Clone for KernelParam
impl Clone for KernelParam
Source§fn clone(&self) -> KernelParam
fn clone(&self) -> KernelParam
Returns a duplicate 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 Debug for KernelParam
impl Debug for KernelParam
Source§impl PartialEq for KernelParam
impl PartialEq for KernelParam
impl StructuralPartialEq for KernelParam
Auto Trait Implementations§
impl Freeze for KernelParam
impl RefUnwindSafe for KernelParam
impl Send for KernelParam
impl Sync for KernelParam
impl Unpin for KernelParam
impl UnsafeUnpin for KernelParam
impl UnwindSafe for KernelParam
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