pub struct BuildScene {
pub index: usize,
pub file: String,
pub path: String,
pub name: String,
}Expand description
A scene of the build (Player::scenes).
Fields§
§index: usizeIts place in the build’s scene list.
file: StringThe file it is stored in (level<index>).
path: StringThe path the editor knew it by (Assets/Scenes/Main Mountain Scene.unity), as stored.
name: StringThe scene’s name: its path’s file name without .unity.
Trait Implementations§
Source§impl Clone for BuildScene
impl Clone for BuildScene
Source§impl Debug for BuildScene
impl Debug for BuildScene
impl Eq for BuildScene
Source§impl PartialEq for BuildScene
impl PartialEq for BuildScene
impl StructuralPartialEq for BuildScene
Auto Trait Implementations§
impl Freeze for BuildScene
impl RefUnwindSafe for BuildScene
impl Send for BuildScene
impl Sync for BuildScene
impl Unpin for BuildScene
impl UnsafeUnpin for BuildScene
impl UnwindSafe for BuildScene
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.