Struct AttachmentPolicy
pub struct AttachmentPolicy {
pub copy_on_death: bool,
pub sync: bool,
}Expand description
How a policy-checked type declared its value: what saving, respawning and syncing do with it.
Fields§
§copy_on_death: bool§sync: boolTrait Implementations§
§impl Clone for AttachmentPolicy
impl Clone for AttachmentPolicy
§fn clone(&self) -> AttachmentPolicy
fn clone(&self) -> AttachmentPolicy
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 moreimpl Copy for AttachmentPolicy
§impl Debug for AttachmentPolicy
impl Debug for AttachmentPolicy
impl Eq for AttachmentPolicy
§impl PartialEq for AttachmentPolicy
impl PartialEq for AttachmentPolicy
impl StructuralPartialEq for AttachmentPolicy
Auto Trait Implementations§
impl Freeze for AttachmentPolicy
impl RefUnwindSafe for AttachmentPolicy
impl Send for AttachmentPolicy
impl Sync for AttachmentPolicy
impl Unpin for AttachmentPolicy
impl UnsafeUnpin for AttachmentPolicy
impl UnwindSafe for AttachmentPolicy
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