pub struct Cort {
pub char_x_line: i64,
pub lines: i64,
pub thr: i8,
pub renderd: String,
pub output_string: bool,
pub extime: i64,
/* private fields */
}
Fields§
§char_x_line: i64
§lines: i64
§thr: i8
§renderd: String
§output_string: bool
§extime: i64
Implementations§
Source§impl Cort
impl Cort
pub fn render(&mut self, Screen: &mut Screen) -> String
pub fn render_blank(&mut self, screen: &mut Screen)
pub fn add_physics(&mut self, pos: i64)
pub fn add_physics_for_all_X(&mut self, Screen: &Screen, chr: String)
pub fn remove_physics(&mut self, pos: i64)
pub fn remove_physics_for_all_X(&mut self, Screen: &Screen, chr: String)
pub fn change_physics(&mut self, grav: i64)
Auto Trait Implementations§
impl Freeze for Cort
impl RefUnwindSafe for Cort
impl Send for Cort
impl Sync for Cort
impl Unpin for Cort
impl UnwindSafe for Cort
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