#[repr(C)]pub struct ss_effect_step_result {
pub visible: bool,
pub draw_plan_buf: *const u8,
pub draw_plan_len: usize,
}Expand description
Result of EffectSlot::step / ss_effect_slot_step.
draw_plan_buf is a FlatBuffer-encoded EffectDrawPlan (see
fbs/effect_draw_plan.fbs). It is valid only when visible == true,
and only until the next step call on the same slot — callers must consume
it within the same frame and not retain pointers across calls.
Fields§
§visible: bool§draw_plan_buf: *const u8§draw_plan_len: usizeImplementations§
Source§impl ss_effect_step_result
impl ss_effect_step_result
pub const fn not_visible() -> Self
Trait Implementations§
Source§impl Clone for ss_effect_step_result
impl Clone for ss_effect_step_result
impl Copy for ss_effect_step_result
Source§impl Debug for ss_effect_step_result
impl Debug for ss_effect_step_result
Auto Trait Implementations§
impl !Send for ss_effect_step_result
impl !Sync for ss_effect_step_result
impl Freeze for ss_effect_step_result
impl RefUnwindSafe for ss_effect_step_result
impl Unpin for ss_effect_step_result
impl UnsafeUnpin for ss_effect_step_result
impl UnwindSafe for ss_effect_step_result
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