pub enum FilmRefusal {
Unavailable,
NotTheater,
Closed,
Funds {
cost: f64,
},
}Expand description
Why Simulation::change_film refused, kept here beside the other
cinema command, Simulation::set_film_policy.
Why a theatre’s film did not change.
Variants§
The mode offers no such film (a blockbuster in Classic).
NotTheater
The id names no theatre.
Closed
The theatre is not open: under construction, burning or gutted.
Funds
The film would cost more than the tower holds.
Implementations§
Trait Implementations§
Source§impl Clone for FilmRefusal
impl Clone for FilmRefusal
Source§fn clone(&self) -> FilmRefusal
fn clone(&self) -> FilmRefusal
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FilmRefusal
impl Debug for FilmRefusal
Source§impl PartialEq for FilmRefusal
impl PartialEq for FilmRefusal
Source§fn eq(&self, other: &FilmRefusal) -> bool
fn eq(&self, other: &FilmRefusal) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FilmRefusal
impl StructuralPartialEq for FilmRefusal
Auto Trait Implementations§
impl Freeze for FilmRefusal
impl RefUnwindSafe for FilmRefusal
impl Send for FilmRefusal
impl Sync for FilmRefusal
impl Unpin for FilmRefusal
impl UnsafeUnpin for FilmRefusal
impl UnwindSafe for FilmRefusal
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