Struct GpRegJitStateBuilder
pub struct GpRegJitStateBuilder<'a, 's, A: Arch, M: MappableArea> { /* private fields */ }
Expand description
A builder for GpRegJitState
.
Implementations§
§impl<'a, A: Arch, M: MappableArea> GpRegJitStateBuilder<'a, '_, A, M>
impl<'a, A: Arch, M: MappableArea> GpRegJitStateBuilder<'a, '_, A, M>
pub fn create(
&mut self,
reg: A::GpReg,
create: impl FnMut(&mut SystemState<A>) -> bool,
) -> Option<GpRegJitState<'a, A>>
pub fn create( &mut self, reg: A::GpReg, create: impl FnMut(&mut SystemState<A>) -> bool, ) -> Option<GpRegJitState<'a, A>>
Creates a new state using the same base state.
Auto Trait Implementations§
impl<'a, 's, A, M> Freeze for GpRegJitStateBuilder<'a, 's, A, M>
impl<'a, 's, A, M> !RefUnwindSafe for GpRegJitStateBuilder<'a, 's, A, M>
impl<'a, 's, A, M> !Send for GpRegJitStateBuilder<'a, 's, A, M>
impl<'a, 's, A, M> !Sync for GpRegJitStateBuilder<'a, 's, A, M>
impl<'a, 's, A, M> Unpin for GpRegJitStateBuilder<'a, 's, A, M>
impl<'a, 's, A, M> !UnwindSafe for GpRegJitStateBuilder<'a, 's, A, M>
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
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more