pub enum PassAction {
Nothing,
Clear(ClearData),
}Variants§
Trait Implementations§
Source§impl Clone for PassAction
impl Clone for PassAction
Source§fn clone(&self) -> PassAction
fn clone(&self) -> PassAction
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PassAction
impl Debug for PassAction
Source§impl<'de> Deserialize<'de> for PassAction
impl<'de> Deserialize<'de> for PassAction
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 IoLoad for PassAction
impl IoLoad for PassAction
Source§fn load_own_extensions() -> impl Iterator<Item = &'static str>
fn load_own_extensions() -> impl Iterator<Item = &'static str>
fn load_from_bytes_with_own_extension( data: &[u8], path: &str, extension: &str, ) -> Result<Self, IoError>
fn load_from_bytes_with_own_extension_pathless( data: &[u8], extension: &str, ) -> Result<Self, IoErrorKind>
const CAN_BE_LOADED_FROM_TEXT: bool = false
fn load_from_str_with_own_extension( data: &str, path: &str, extension: &str, ) -> Result<Self, IoError>
fn load_from_str_with_own_extension_pathless( data: &str, extension: &str, ) -> Result<Self, IoErrorKind>
Source§fn can_open_own_extension(extension: &str) -> bool
fn can_open_own_extension(extension: &str) -> bool
Don’t include the markup language extension like
json or ronSource§fn load_extensions() -> impl Iterator<Item = &'static str>
fn load_extensions() -> impl Iterator<Item = &'static str>
Also include the markup language extension like
json or ronSource§fn can_open_extension(extension: &str) -> bool
fn can_open_extension(extension: &str) -> bool
Also include the markup language extension like
json or ronfn load_from<Fs>(path: &str, fs: &mut Fs) -> Result<Self, IoError>where
Fs: IoFsRead,
fn load_from_with_extension<Fs>(
path: &str,
extension: &str,
fs: &mut Fs,
) -> Result<Self, IoError>where
Fs: IoFsRead,
Source§impl IoSave for PassAction
impl IoSave for PassAction
Source§fn save_own_extensions() -> impl Iterator<Item = &'static str>
fn save_own_extensions() -> impl Iterator<Item = &'static str>
fn save_to_with_own_extension<W, Fs>( &self, path: &str, extension: &str, w: W, fs: &mut Fs, ) -> Result<(), IoError>
fn save_to_with_own_extension_pathless<W, Fs>( &self, extension: &str, w: W, fs: &mut Fs, ) -> Result<(), IoErrorKind>
Source§fn save_default_extension() -> Option<&'static str>
fn save_default_extension() -> Option<&'static str>
When saving, if the extension is missing, the file will use this extension by default
Source§fn can_save_own_extension(extension: &str) -> bool
fn can_save_own_extension(extension: &str) -> bool
Don’t include the markup language extension like
json or ronSource§fn save_extensions() -> impl Iterator<Item = &'static str>
fn save_extensions() -> impl Iterator<Item = &'static str>
Also include the markup language extension like
json or ronSource§fn can_save_extension(extension: &str) -> bool
fn can_save_extension(extension: &str) -> bool
Also include the markup language extension like
json or ronfn save_to<Fs>(&self, path: &str, fs: &mut Fs) -> Result<(), IoError>where
Fs: IoFsWrite,
fn save_to_with_extension<Fs>(
&self,
path: &str,
extension: &str,
fs: &mut Fs,
) -> Result<(), IoError>where
Fs: IoFsWrite,
fn save_with_reader<W, Fs>( &self, path: &str, w: W, fs: &mut Fs, ) -> Result<(), IoError>
fn save_with_reader_and_extension<W, Fs>( &self, path: &str, extension: &str, w: W, fs: &mut Fs, ) -> Result<(), IoError>
Source§impl PartialEq for PassAction
impl PartialEq for PassAction
Source§impl Serialize for PassAction
impl Serialize for PassAction
impl Copy for PassAction
impl StructuralPartialEq for PassAction
Auto Trait Implementations§
impl Freeze for PassAction
impl RefUnwindSafe for PassAction
impl Send for PassAction
impl Sync for PassAction
impl Unpin for PassAction
impl UnwindSafe for PassAction
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<Src, Dest> CastRangeFrom<Dest> for Srcwhere
Dest: CastRangeInto<Src>,
impl<Src, Dest> CastRangeFrom<Dest> for Srcwhere
Dest: CastRangeInto<Src>,
fn cast_range_from(value: Dest) -> Src
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