Struct ruby_prism::ConstantList
source · pub struct ConstantList<'pr> { /* private fields */ }
Expand description
A list of constants.
Implementations§
source§impl<'pr> ConstantList<'pr>
impl<'pr> ConstantList<'pr>
sourcepub fn iter(&self) -> ConstantListIter<'pr> ⓘ
pub fn iter(&self) -> ConstantListIter<'pr> ⓘ
Returns an iterator over the constants in the list.
Trait Implementations§
Auto Trait Implementations§
impl<'pr> RefUnwindSafe for ConstantList<'pr>
impl<'pr> !Send for ConstantList<'pr>
impl<'pr> !Sync for ConstantList<'pr>
impl<'pr> Unpin for ConstantList<'pr>
impl<'pr> !UnwindSafe for ConstantList<'pr>
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