Struct steamworks::QueryResults [−][src]
Query results
Implementations
impl<'a> QueryResults<'a>
[src]
pub fn was_cached(&self) -> bool
[src]
Were these results retreived from a cache?
pub fn total_results(&self) -> u32
[src]
Gets the total number of results in this query, not just the current page
pub fn returned_results(&self) -> u32
[src]
Gets the number of results in this page.
pub fn get(&self, index: u32) -> Option<QueryResult>
[src]
Gets a result.
Returns None if index was out of bounds.
pub fn iter<'b>(&'b self) -> impl Iterator<Item = QueryResult> + 'b
[src]
Returns an iterator that runs over all the fetched results
Trait Implementations
impl<'a> Drop for QueryResults<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for QueryResults<'a>
impl<'a> !Send for QueryResults<'a>
impl<'a> !Sync for QueryResults<'a>
impl<'a> Unpin for QueryResults<'a>
impl<'a> UnwindSafe for QueryResults<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,