[−][src]Struct yy_boss::FolderGraph
Fields
name: String
path_to_parent: Option<ViewPath>
files: HashMap<String, FileMember>
folders: HashMap<String, SubfolderMember>
Implementations
impl FolderGraph
[src]
pub fn root() -> FolderGraph
[src]
pub fn new(name: String, parent: ViewPath) -> FolderGraph
[src]
pub fn view_path(&self) -> ViewPath
[src]
pub fn find_subfolder_mut(
&mut self,
view_path: &ViewPath
) -> Result<&mut FolderGraph, FolderGraphError>
[src]
&mut self,
view_path: &ViewPath
) -> Result<&mut FolderGraph, FolderGraphError>
pub fn find_subfolder_by_file(&mut self, name: &str) -> Option<&mut FolderGraph>
[src]
pub fn max_suborder(&self) -> Option<usize>
[src]
This returns the max_suborder within this Folder. In a sense, this is the "size" of the folder's children, though due to A-Z sorting in the Gms2 IDE, order and size are not always directly related.
Given the folder:
Sprites/
- spr_player
- OtherMembers/
- spr_enemy
max_suborder
will return 2
, which is what spr_enemy
's suborder would be.
Trait Implementations
impl Clone for FolderGraph
[src]
fn clone(&self) -> FolderGraph
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FolderGraph
[src]
impl Default for FolderGraph
[src]
impl Eq for FolderGraph
[src]
impl Hash for FolderGraph
[src]
fn hash<H: Hasher>(&self, state: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<FolderGraph> for FolderGraph
[src]
impl StructuralEq for FolderGraph
[src]
Auto Trait Implementations
impl RefUnwindSafe for FolderGraph
impl Send for FolderGraph
impl Sync for FolderGraph
impl Unpin for FolderGraph
impl UnwindSafe for FolderGraph
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,