pub struct Constitution {
pub text: String,
pub articles: Vec<String>,
/* private fields */
}Fields§
§text: String§articles: Vec<String>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Constitution
impl Freeze for Constitutionwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const ArcInner<RoomInner> is !null: Freeze,
PhantomData<ArcInner<RoomInner>>: Freeze,
*const ArcInner<Runtime> is !null: Freeze,
PhantomData<ArcInner<Runtime>>: Freeze,
impl Move for Constitution
impl RefUnwindSafe for Constitutionwhere
Atomic<usize>: RefUnwindSafe,
Chan<Message, Semaphore>: RefUnwindSafe,
Mutex<Vec<Presence>>: RefUnwindSafe,
RwLock<bool>: RefUnwindSafe,
AtomicUsize: RefUnwindSafe,
Notify: RefUnwindSafe,
Atomic<bool>: RefUnwindSafe,
Mutex<Vec<String>>: RefUnwindSafe,
Mutex<HashMap<String, Agent>>: RefUnwindSafe,
impl Send for Constitution
impl Sync for Constitution
impl Unpin for Constitution
impl UnsafeUnpin for Constitutionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const ArcInner<RoomInner> is !null: UnsafeUnpin,
PhantomData<ArcInner<RoomInner>>: UnsafeUnpin,
*const ArcInner<Runtime> is !null: UnsafeUnpin,
PhantomData<ArcInner<Runtime>>: UnsafeUnpin,
impl UnwindSafe for Constitution
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