Struct mindus::block::logic::MessageLogic
source · pub struct MessageLogic { /* private fields */ }Implementations§
Trait Implementations§
source§impl BlockLogic for MessageLogic
impl BlockLogic for MessageLogic
fn is_symmetric(&self) -> bool
fn create_build_cost(&self) -> Option<ItemStorage>
fn data_from_i32(&self, _: i32, _: GridPos) -> Result<DynData, DataConvertError>
fn draw( &self, _: &str, _: Option<&State>, _: Option<&RenderingContext<'_>>, _: Rotation, _: Scale ) -> ImageHolder
fn deserialize_state( &self, data: DynData ) -> Result<Option<State>, DeserializeError>
fn clone_state(&self, state: &State) -> State
fn mirror_state(&self, _: &mut State, _: bool, _: bool)
fn rotate_state(&self, _: &mut State, _: bool)
fn serialize_state(&self, state: &State) -> Result<DynData, SerializeError>
fn read( &self, b: &mut Build<'_>, _: &BlockRegistry<'_>, _: &EntityMapping, buff: &mut DataRead<'_> ) -> Result<(), DataReadError>
fn want_context(&self) -> bool
Auto Trait Implementations§
impl RefUnwindSafe for MessageLogic
impl Send for MessageLogic
impl Sync for MessageLogic
impl Unpin 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