pub struct BitmapBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> BitmapBuilder<'a>
impl<'a> BitmapBuilder<'a>
pub fn source_file(self, t: Option<&'a str>) -> BitmapBuilder<'a>
pub fn source_bin(self, t: Option<&'a [u8]>) -> BitmapBuilder<'a>
pub fn source_system(self, t: Option<OemBitmap>) -> BitmapBuilder<'a>
pub fn source_embed(self, em: Option<&'a EmbedResource>) -> BitmapBuilder<'a>
pub fn source_embed_id(self, id: usize) -> BitmapBuilder<'a>
pub fn source_embed_str(self, id: Option<&'a str>) -> BitmapBuilder<'a>
pub fn size(self, s: Option<(u32, u32)>) -> BitmapBuilder<'a>
pub fn strict(self, s: bool) -> BitmapBuilder<'a>
pub fn build(self, b: &mut Bitmap) -> Result<(), NwgError>
Auto Trait Implementations§
impl<'a> Freeze for BitmapBuilder<'a>
impl<'a> RefUnwindSafe for BitmapBuilder<'a>
impl<'a> !Send for BitmapBuilder<'a>
impl<'a> !Sync for BitmapBuilder<'a>
impl<'a> Unpin for BitmapBuilder<'a>
impl<'a> UnwindSafe for BitmapBuilder<'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