pub struct Sources<'a> {
pub vertex: Option<&'a str>,
pub fragment: &'a str,
}Expand description
The world’s two files, as text.
Fields§
§vertex: Option<&'a str>The vertex file, when declared.
fragment: &'a strThe fragment file.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Sources<'a>
impl<'a> RefUnwindSafe for Sources<'a>
impl<'a> Send for Sources<'a>
impl<'a> Sync for Sources<'a>
impl<'a> Unpin for Sources<'a>
impl<'a> UnsafeUnpin for Sources<'a>
impl<'a> UnwindSafe for Sources<'a>
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