Struct shadertoy::SearchParams
[−]
[src]
pub struct SearchParams<'a> { pub string: &'a str, pub sort_order: SearchSortOrder, pub filters: Vec<SearchFilter>, }
Search parameters for Client::search
.
Fields
string: &'a str
Search string, set as empty to get ALL shadertoys.
sort_order: SearchSortOrder
Sort order of resulting list of shaders.
filters: Vec<SearchFilter>
Inclusion filters, only the shadertoys matching this filter will be included in the result.
Trait Implementations
impl<'a> Debug for SearchParams<'a>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a> PartialEq for SearchParams<'a>
[src]
fn eq(&self, __arg_0: &SearchParams<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SearchParams<'a>) -> bool
[src]
This method tests for !=
.
impl<'a> Clone for SearchParams<'a>
[src]
fn clone(&self) -> SearchParams<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more