pub struct MessageLogic { /* private fields */ }Implementations§
Trait Implementations§
Source§impl BlockLogic for MessageLogic
impl BlockLogic for MessageLogic
fn get_size(&self) -> u8
fn is_symmetric(&self) -> bool
fn create_build_cost(&self) -> Option<Storage>
fn data_from_i32(&self, _: i32, _: GridPos) -> Result<DynData, DataConvertError>
fn deserialize_state( &self, data: DynData, ) -> Result<Option<Box<dyn Any>>, DeserializeError>
fn clone_state(&self, state: &dyn Any) -> Box<dyn Any>
fn mirror_state(&self, _: &mut dyn Any, _: bool, _: bool)
fn rotate_state(&self, _: &mut dyn Any, _: bool)
fn serialize_state(&self, state: &dyn Any) -> Result<DynData, SerializeError>
Auto Trait Implementations§
impl Freeze for MessageLogic
impl RefUnwindSafe for MessageLogic
impl Send for MessageLogic
impl Sync for MessageLogic
impl Unpin for MessageLogic
impl UnsafeUnpin for MessageLogic
impl UnwindSafe for MessageLogic
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