pub(crate) struct WeiduBatchedComponents(Vec<WeiduComponent>);Tuple Fields§
§0: Vec<WeiduComponent>Implementations§
Source§impl WeiduBatchedComponents
impl WeiduBatchedComponents
pub(crate) fn remove_existing( &mut self, strict_matching: bool, game_directory: &Path, ) -> Result<(), Box<dyn Error>>
pub(crate) fn push(&mut self, component: WeiduComponent)
pub(crate) fn first(&self) -> Option<&WeiduComponent>
pub(crate) fn last(&self) -> Option<&WeiduComponent>
pub(crate) fn len(&self) -> usize
pub(crate) fn retain<F: FnMut(&WeiduComponent) -> bool>(&mut self, f: F)
Trait Implementations§
Source§impl Debug for WeiduBatchedComponents
impl Debug for WeiduBatchedComponents
Source§impl From<Vec<WeiduComponent>> for WeiduBatchedComponents
impl From<Vec<WeiduComponent>> for WeiduBatchedComponents
Source§fn from(components: Vec<WeiduComponent>) -> Self
fn from(components: Vec<WeiduComponent>) -> Self
Converts to this type from the input type.
Source§impl<'a> IntoIterator for &'a WeiduBatchedComponents
impl<'a> IntoIterator for &'a WeiduBatchedComponents
Source§impl Ord for WeiduBatchedComponents
impl Ord for WeiduBatchedComponents
Source§fn cmp(&self, other: &WeiduBatchedComponents) -> Ordering
fn cmp(&self, other: &WeiduBatchedComponents) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WeiduBatchedComponents
impl PartialEq for WeiduBatchedComponents
Source§impl PartialOrd for WeiduBatchedComponents
impl PartialOrd for WeiduBatchedComponents
Source§impl TryFrom<PathBuf> for WeiduBatchedComponents
impl TryFrom<PathBuf> for WeiduBatchedComponents
Source§impl WeiduInstallBlock for WeiduBatchedComponents
impl WeiduInstallBlock for WeiduBatchedComponents
fn generate_weidu_args( &self, weidu_log_mode: Vec<LogOptions>, language: &str, generic_weidu_args: &[String], ) -> Vec<String>
fn log_file_name(&self) -> String
impl Eq for WeiduBatchedComponents
impl StructuralPartialEq for WeiduBatchedComponents
Auto Trait Implementations§
impl Freeze for WeiduBatchedComponents
impl RefUnwindSafe for WeiduBatchedComponents
impl Send for WeiduBatchedComponents
impl Sync for WeiduBatchedComponents
impl Unpin for WeiduBatchedComponents
impl UnsafeUnpin for WeiduBatchedComponents
impl UnwindSafe for WeiduBatchedComponents
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.