pub struct ProfileGuide;Expand description
Renders World.profile as a one-line User profile: … block in the
agent’s guides section. No-op when the profile is empty.
Trait Implementations§
Source§impl Guide for ProfileGuide
impl Guide for ProfileGuide
fn id(&self) -> &GuideId
fn kind(&self) -> Execution
fn scope(&self) -> &GuideScope
fn apply<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
ctx: &'life1 mut Context,
w: &'life2 World,
) -> Pin<Box<dyn Future<Output = Result<(), GuideError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Freeze for ProfileGuide
impl RefUnwindSafe for ProfileGuide
impl Send for ProfileGuide
impl Sync for ProfileGuide
impl Unpin for ProfileGuide
impl UnsafeUnpin for ProfileGuide
impl UnwindSafe for ProfileGuide
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