pub struct Override<S> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<'de, S> Deserialize<'de> for Override<S>where
S: Deserialize<'de>,
impl<'de, S> Deserialize<'de> for Override<S>where
S: Deserialize<'de>,
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
Source§impl<S> ManifestSourceOpt for Override<S>where
Manifest<S>: ManifestSourceOpt,
impl<S> ManifestSourceOpt for Override<S>where
Manifest<S>: ManifestSourceOpt,
Source§const MAY_BE_INCOMPLETE: bool = Manifest<S>::MAY_BE_INCOMPLETE
const MAY_BE_INCOMPLETE: bool = Manifest<S>::MAY_BE_INCOMPLETE
Possibly incomplete, that means that some of values could be
None.fn name(&self) -> Option<&str>
fn version(&self) -> Option<&str>
fn bundle_id(&self) -> Option<&str>
fn description(&self) -> Option<&str>
fn image_path(&self) -> Option<&str>
fn launch_sound_path(&self) -> Option<&str>
fn content_warning(&self) -> Option<&str>
fn content_warning2(&self) -> Option<&str>
fn build_number(&self) -> Option<usize>
fn override_with<'a, Over>(
&'a self,
over: &'a Over,
) -> impl ManifestSourceOpt + 'awhere
Over: ManifestSourceOpt,
Source§impl<S> ManifestSourceOptExt for Override<S>where
Manifest<S>: ManifestSourceOpt,
impl<S> ManifestSourceOptExt for Override<S>where
Manifest<S>: ManifestSourceOpt,
const MAY_HAVE_EXTRA: bool = true
fn iter_extra( &self, ) -> Option<impl IntoIterator<Item = (impl AsRef<str>, impl AsRef<ExtraValue>)>>
fn has_extra(&self) -> bool
fn override_with_extra_ref<'t, Over>(
&'t self,
over: &'t Over,
) -> impl ManifestSourceOptExt + 'twhere
Over: ManifestSourceOptExt,
fn override_with_extra<Over: ManifestSourceOptExt>( &self, overrider: &Over, ) -> impl ManifestSourceOptExt + Cob<'static>
impl<S> StructuralPartialEq for Override<S>
Auto Trait Implementations§
impl<S> Freeze for Override<S>where
S: Freeze,
impl<S> RefUnwindSafe for Override<S>where
S: RefUnwindSafe,
impl<S> Send for Override<S>where
S: Send,
impl<S> Sync for Override<S>where
S: Sync,
impl<S> Unpin for Override<S>where
S: Unpin,
impl<S> UnwindSafe for Override<S>where
S: UnwindSafe,
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 moreSource§impl<T> IntoManifest for Twhere
T: ManifestSourceOptExt,
impl<T> IntoManifest for Twhere
T: ManifestSourceOptExt,
Source§impl<T> ManifestFmt for Twhere
T: ManifestSourceOptExt,
impl<T> ManifestFmt for Twhere
T: ManifestSourceOptExt,
fn write_to<W: Write>(&self, to: &mut W) -> Result<()>where
Self: ManifestSourceOptExt,
fn write_to_fmt<W: Write>(&self, to: &mut W) -> Resultwhere
Self: ManifestSourceOptExt,
fn to_manifest_string(&self) -> Result<String, Error>where
Self: ManifestSourceOptExt,
Source§impl<T> Validate for Twhere
T: ManifestSourceOptExt,
impl<T> Validate for Twhere
T: ManifestSourceOptExt,
Source§fn validate(&self) -> impl IntoIterator<Item = Problem>
fn validate(&self) -> impl IntoIterator<Item = Problem>
Check critical requirements, returns it as errors.
Also returns warnings fo not so critical problems.
Use it before render the final result.