struct SignState {
front_text: SignText,
back_text: SignText,
is_waxed: bool,
player_who_may_edit: Option<Uuid>,
}Fields§
§front_text: SignTextText on the front side.
back_text: SignTextText on the back side.
is_waxed: boolWhether the sign is waxed (prevents editing).
player_who_may_edit: Option<Uuid>UUID of the player currently allowed to edit this sign. Used to prevent multiple players from editing simultaneously.
Auto Trait Implementations§
impl Freeze for SignState
impl RefUnwindSafe for SignState
impl Send for SignState
impl Sync for SignState
impl Unpin for SignState
impl UnsafeUnpin for SignState
impl UnwindSafe for SignState
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreWraps this value in an
Arc<SyncMutex<>>