pub struct ParticleIndexEntry { /* private fields */ }Expand description
Index entry for a single particle type
Implementations§
Source§impl ParticleIndexEntry
impl ParticleIndexEntry
pub fn get_members(&self) -> impl Iterator<Item = (MemberID, &MemberIndexEntry)>
pub fn get_name(&self) -> &str
pub fn get_member_by_name<'a>( &'a self, member_name: &str, ) -> Option<(MemberID, &'a MemberIndexEntry)>
pub fn get_position_member<'a>( &'a self, ) -> Option<(MemberID, &'a MemberIndexEntry)>
pub fn get_member<'a>( &'a self, member_id: &MemberID, ) -> Option<&'a MemberIndexEntry>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParticleIndexEntry
impl RefUnwindSafe for ParticleIndexEntry
impl Send for ParticleIndexEntry
impl Sync for ParticleIndexEntry
impl Unpin for ParticleIndexEntry
impl UnwindSafe for ParticleIndexEntry
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