pub struct Document(/* private fields */);Implementations§
Source§impl Document
impl Document
pub fn from_json(json: Root) -> Result<Self>
pub fn from_json_without_validation(json: Root) -> Self
pub fn into_json(self) -> Root
pub fn as_json(&self) -> &Root
pub fn default_scene(&self) -> Option<Scene<'_>>
pub fn accessors(&self) -> Accessors<'_> ⓘ
pub fn buffers(&self) -> Buffers<'_> ⓘ
pub fn views(&self) -> Views<'_> ⓘ
pub fn images(&self) -> Images<'_> ⓘ
pub fn textures(&self) -> Textures<'_> ⓘ
pub fn samplers(&self) -> Samplers<'_> ⓘ
pub fn materials(&self) -> Materials<'_> ⓘ
pub fn techniques(&self) -> Techniques<'_> ⓘ
pub fn meshes(&self) -> Meshes<'_> ⓘ
pub fn cameras(&self) -> Cameras<'_> ⓘ
pub fn nodes(&self) -> Nodes<'_> ⓘ
pub fn skins(&self) -> Skins<'_> ⓘ
pub fn scenes(&self) -> Scenes<'_> ⓘ
pub fn lights(&self) -> Option<Lights<'_>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Document
impl RefUnwindSafe for Document
impl Send for Document
impl Sync for Document
impl Unpin for Document
impl UnwindSafe for Document
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