Struct calloop::list::SourceList
source · pub(crate) struct SourceList<'l, Data> {
sources: Vec<SourceEntry<'l, Data>>,
}
Fields§
§sources: Vec<SourceEntry<'l, Data>>
Implementations§
source§impl<'l, Data> SourceList<'l, Data>
impl<'l, Data> SourceList<'l, Data>
pub(crate) fn new() -> Self
pub(crate) fn vacant_entry(&mut self) -> &mut SourceEntry<'l, Data>
pub(crate) fn get(&self, token: TokenInner) -> Result<&SourceEntry<'l, Data>>
pub(crate) fn get_mut( &mut self, token: TokenInner, ) -> Result<&mut SourceEntry<'l, Data>>
Auto Trait Implementations§
impl<'l, Data> Freeze for SourceList<'l, Data>
impl<'l, Data> !RefUnwindSafe for SourceList<'l, Data>
impl<'l, Data> !Send for SourceList<'l, Data>
impl<'l, Data> !Sync for SourceList<'l, Data>
impl<'l, Data> Unpin for SourceList<'l, Data>
impl<'l, Data> !UnwindSafe for SourceList<'l, Data>
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