You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: bullet.rs
    path of file: ./repos/game-dev-with-rust/wing-pilot-2042/src/entity
    
    the code of the file until where you have to start completion: use crate::entity::bullet_type::BulletType;
use crate::entity::owner::Owner;
use macroquad::math::Rect;
use macroquad::prelude::{draw_texture_ex, load_texture, DrawTextureParams, Vec2, RED, WHITE};
use macroquad::shapes::draw_rectangle;

pub struct Bullet {
    owner: Owner,
    pub location: Vec2,
    pub velocity: Vec2
    
    pub async fn draw(&self) {
        match self.owner {
            Owner::Fighter | Owner::EnemyFighter => {
                draw_rectangle(self.location.x, self.location.y, 3., 3., WHITE);
            }
            Owner::EnemyBomber => {
                draw_rectangle(self.location.x, self.location.y, 6., 6., RED);
            }
            Owner::Warship => {
                let texture = load_texture("resources/ws_missile.png").await.unwrap();
                let params = DrawTextureParams {
                    rotation: self.rotation,
                    ..Default::default()
                };
                draw_texture_ex(texture, self.location.x, self.location.y, WHITE, params);
            }
        }
    }