pub struct GDLocalLevel {
pub mode: GDLevelMode,
pub speed: u16,
pub mini_mode: bool,
pub dual_mode: bool,
pub player_mode2: bool,
pub flip_gravity: bool,
pub platformer_mode: bool,
pub objects: Vec<GDObject>,
pub name: String,
pub raw: GDRawLocalLevel,
}Fields§
§mode: GDLevelMode§speed: u16§mini_mode: bool§dual_mode: bool§player_mode2: bool§flip_gravity: bool§platformer_mode: bool§objects: Vec<GDObject>§name: String§raw: GDRawLocalLevelImplementations§
Source§impl GDLocalLevel
impl GDLocalLevel
pub fn get_inner_level_string(&self) -> String
pub fn get_level_start(&self) -> String
pub fn get_object_string(&self) -> String
pub fn object_by_gid(&self, gid: u16) -> Vec<usize>
Trait Implementations§
Source§impl Clone for GDLocalLevel
impl Clone for GDLocalLevel
Source§fn clone(&self) -> GDLocalLevel
fn clone(&self) -> GDLocalLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GDLocalLevel
impl Debug for GDLocalLevel
Source§impl Default for GDLocalLevel
impl Default for GDLocalLevel
Source§fn default() -> GDLocalLevel
fn default() -> GDLocalLevel
Returns the “default value” for a type. Read more
Source§impl Into<GDRawLocalLevel> for GDLocalLevel
impl Into<GDRawLocalLevel> for GDLocalLevel
Source§fn into(self) -> GDRawLocalLevel
fn into(self) -> GDRawLocalLevel
Converts this type into the (usually inferred) input type.
Source§impl PartialEq for GDLocalLevel
impl PartialEq for GDLocalLevel
impl StructuralPartialEq for GDLocalLevel
Auto Trait Implementations§
impl Freeze for GDLocalLevel
impl RefUnwindSafe for GDLocalLevel
impl Send for GDLocalLevel
impl Sync for GDLocalLevel
impl Unpin for GDLocalLevel
impl UnwindSafe for GDLocalLevel
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