pub struct LightingRon { /* private fields */ }Expand description
A lights’ file (lights, .ron), checked as from_source says,
with the light a map that names none is in.
Implementations§
Trait Implementations§
Source§impl Clone for LightingRon
impl Clone for LightingRon
Source§fn clone(&self) -> LightingRon
fn clone(&self) -> LightingRon
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LightingRon
impl Debug for LightingRon
Source§impl Default for LightingRon
impl Default for LightingRon
Source§fn default() -> Self
fn default() -> Self
Maps are in DEFAULT_LIGHT unless they say.
impl Eq for LightingRon
Source§impl Format for LightingRon
impl Format for LightingRon
Source§fn id(&self) -> &'static str
fn id(&self) -> &'static str
Stable id, e.g.
"png", "tiled-tmx", "yarn": one per format
of a kind.Source§fn extensions(&self) -> &'static [&'static str]
fn extensions(&self) -> &'static [&'static str]
File extensions this format claims, lowercase, without the dot. A
format that only stands in another’s place (a one-bit picture at a
PNG’s path) claims none and is found by
sniff.Source§fn max_bytes(&self) -> usize
fn max_bytes(&self) -> usize
The most bytes it reads: a bigger file is refused before
decode sees it. DEFAULT_MAX_BYTES unless the
format says.Source§impl PartialEq for LightingRon
impl PartialEq for LightingRon
impl StructuralPartialEq for LightingRon
Auto Trait Implementations§
impl Freeze for LightingRon
impl RefUnwindSafe for LightingRon
impl Send for LightingRon
impl Sync for LightingRon
impl Unpin for LightingRon
impl UnsafeUnpin for LightingRon
impl UnwindSafe for LightingRon
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