pub struct SearchOn { /* private fields */ }Expand description
Configuration for which file types to include in a search.
Each boolean field controls whether that file type will be searched.
Use SearchOn::all() to enable all file types or configure individually.
Implementations§
Source§impl SearchOn
impl SearchOn
pub fn anim(&self) -> &bool
pub fn anim_fragment_battle(&self) -> &bool
pub fn anim_pack(&self) -> &bool
pub fn anims_table(&self) -> &bool
pub fn atlas(&self) -> &bool
pub fn audio(&self) -> &bool
pub fn bmd(&self) -> &bool
pub fn db(&self) -> &bool
pub fn esf(&self) -> &bool
pub fn group_formations(&self) -> &bool
pub fn image(&self) -> &bool
pub fn loc(&self) -> &bool
pub fn matched_combat(&self) -> &bool
pub fn pack(&self) -> &bool
pub fn portrait_settings(&self) -> &bool
pub fn rigid_model(&self) -> &bool
pub fn sound_bank(&self) -> &bool
pub fn text(&self) -> &bool
pub fn uic(&self) -> &bool
pub fn unit_variant(&self) -> &bool
pub fn unknown(&self) -> &bool
pub fn video(&self) -> &bool
pub fn schema(&self) -> &bool
Source§impl SearchOn
impl SearchOn
pub fn set_anim(&mut self, val: bool) -> &mut Self
pub fn set_anim_fragment_battle(&mut self, val: bool) -> &mut Self
pub fn set_anim_pack(&mut self, val: bool) -> &mut Self
pub fn set_anims_table(&mut self, val: bool) -> &mut Self
pub fn set_atlas(&mut self, val: bool) -> &mut Self
pub fn set_audio(&mut self, val: bool) -> &mut Self
pub fn set_bmd(&mut self, val: bool) -> &mut Self
pub fn set_db(&mut self, val: bool) -> &mut Self
pub fn set_esf(&mut self, val: bool) -> &mut Self
pub fn set_group_formations(&mut self, val: bool) -> &mut Self
pub fn set_image(&mut self, val: bool) -> &mut Self
pub fn set_loc(&mut self, val: bool) -> &mut Self
pub fn set_matched_combat(&mut self, val: bool) -> &mut Self
pub fn set_pack(&mut self, val: bool) -> &mut Self
pub fn set_portrait_settings(&mut self, val: bool) -> &mut Self
pub fn set_rigid_model(&mut self, val: bool) -> &mut Self
pub fn set_sound_bank(&mut self, val: bool) -> &mut Self
pub fn set_text(&mut self, val: bool) -> &mut Self
pub fn set_uic(&mut self, val: bool) -> &mut Self
pub fn set_unit_variant(&mut self, val: bool) -> &mut Self
pub fn set_unknown(&mut self, val: bool) -> &mut Self
pub fn set_video(&mut self, val: bool) -> &mut Self
pub fn set_schema(&mut self, val: bool) -> &mut Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SearchOn
impl<'de> Deserialize<'de> for SearchOn
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SearchOn
impl RefUnwindSafe for SearchOn
impl Send for SearchOn
impl Sync for SearchOn
impl Unpin for SearchOn
impl UnsafeUnpin for SearchOn
impl UnwindSafe for SearchOn
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.