fn from(x: &[u8]) -> gfx::sg_range {
            gfx::sg_range {
                ptr: x.as_ptr() as *const _,
                size: x.len() as _,
            }
        }
// WARNING: This is VERY UNSAFE since the slice may be a temporary value
This is VERY UNSAFE since the slice may be a temporary value
This is VERY UNSAFE since the slice may be a temporary value
fn from(x: &[u8]) -> gfx::sg_range {
            gfx::sg_range {
                ptr: x.as_ptr() as *const _,
                size: x.len() as _,
            }
        }
fn from ( x : & [ u8 ] ) -> gfx :: sg_range { gfx :: sg_range { ptr : x . as_ptr ( ) as * const _ , size : x . len ( ) as _ , } }
WARNING: This is VERY UNSAFE since the slice may be a temporary value
WARNING : This is VERY UNSAFE since the slice may be a temporary value
x
&[u8]
x
&[u8]