Struct TargetProcedures
pub struct TargetProcedures(/* private fields */);Expand description
This component has no equivalent in the scratch file format
Implementations§
§impl TargetProcedures
impl TargetProcedures
pub fn get(&self, id: &ProcedureId) -> Option<&Procedure>
pub fn iter(&self) -> impl Iterator<Item = (&ProcedureId, &Procedure)>
pub fn iter_procedures(&self) -> impl Iterator<Item = &Procedure>
Trait Implementations§
§impl Debug for TargetProcedures
impl Debug for TargetProcedures
§impl PartialEq for TargetProcedures
impl PartialEq for TargetProcedures
impl StructuralPartialEq for TargetProcedures
Auto Trait Implementations§
impl !Send for TargetProcedures
impl !Sync for TargetProcedures
impl Freeze for TargetProcedures
impl RefUnwindSafe for TargetProcedures
impl Unpin for TargetProcedures
impl UnsafeUnpin for TargetProcedures
impl UnwindSafe for TargetProcedures
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
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