pub struct ScrollShadow {
pub bg: Quad,
pub z: f32,
}
Fields§
§bg: Quad
§z: f32
Implementations§
Source§impl ScrollShadow
impl ScrollShadow
pub fn proto(cx: &mut Cx) -> Self
pub fn shadow_size() -> FloatId
pub fn shadow_top() -> InstanceFloat
pub fn shader_bg() -> ShaderId
pub fn style(cx: &mut Cx, _opt: &StyleOptions)
pub fn draw_shadow_top(&mut self, cx: &mut Cx)
pub fn draw_shadow_top_at(&mut self, cx: &mut Cx, rect: Rect)
pub fn draw_shadow_left(&mut self, cx: &mut Cx)
pub fn draw_shadow_left_at(&mut self, cx: &mut Cx, rect: Rect)
Trait Implementations§
Source§impl Clone for ScrollShadow
impl Clone for ScrollShadow
Source§fn clone(&self) -> ScrollShadow
fn clone(&self) -> ScrollShadow
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ScrollShadow
impl RefUnwindSafe for ScrollShadow
impl Send for ScrollShadow
impl Sync for ScrollShadow
impl Unpin for ScrollShadow
impl UnwindSafe for ScrollShadow
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