pub struct Outside<'a> {
pub policy: &'a dyn Source,
pub launcher: &'a dyn Launcher,
pub channel: &'a dyn Channel,
pub notify: Notify,
}Expand description
What the engine has been given to work with.
Fields§
§policy: &'a dyn SourceConcept 10’s layers, in whatever form this platform keeps them.
launcher: &'a dyn LauncherConcept 5 step 7, which hands the content file to the desktop.
channel: &'a dyn ChannelConcept 9, which narrates and asks.
notify: NotifyHow much to say without being asked, resolved once when the instance
started. See Notify.
Implementations§
Source§impl<'a> Outside<'a>
impl<'a> Outside<'a>
Sourcepub fn new(
policy: &'a dyn Source,
launcher: &'a dyn Launcher,
channel: &'a dyn Channel,
) -> Self
pub fn new( policy: &'a dyn Source, launcher: &'a dyn Launcher, channel: &'a dyn Channel, ) -> Self
Gather the three, saying as much as Notify’s default allows.
Sourcepub fn saying(self, notify: Notify) -> Self
pub fn saying(self, notify: Notify) -> Self
The same, at the volume a resolved policy asked for.
Sourcepub fn report(&self, report: &Report)
pub fn report(&self, report: &Report)
Report, unless the threshold says this one is not worth an interruption.
Every routine report goes through here and no question does. A
question is Channel::ask, which this cannot reach, so no setting can
silence a session into stranding its content file.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Outside<'a>
impl<'a> !Send for Outside<'a>
impl<'a> !Sync for Outside<'a>
impl<'a> !UnwindSafe for Outside<'a>
impl<'a> Freeze for Outside<'a>
impl<'a> Unpin for Outside<'a>
impl<'a> UnsafeUnpin for Outside<'a>
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