[−][src]Struct optee_teec::ParamValue
This type defines a parameter that is not referencing shared memory, but
carries instead small raw data passed by value. It is used as a Operation
parameter when the corresponding parameter type is one of ValueInput
,
ValueOutput
, or ValueInout
.
Methods
impl ParamValue
[src]
pub fn new(a: u32, b: u32, param_type: ParamType) -> Self
[src]
Creates a value parameter with two u32
integer and ParamType
for
operation.
pub fn a(&self) -> u32
[src]
Returns the first value in the value parameter.
pub fn b(&self) -> u32
[src]
Returns the second value in the value parameter.
Trait Implementations
impl Param for ParamValue
[src]
fn into_raw(&mut self) -> TEEC_Parameter
[src]
fn from_raw(raw: TEEC_Parameter, param_type: ParamType) -> Self
[src]
fn param_type(&self) -> ParamType
[src]
Auto Trait Implementations
impl Send for ParamValue
impl Sync for ParamValue
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,