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: target.rs
    path of file: ./repos/shame/shame/src/pipeline
    
    the code of the file until where you have to start completion: //! Color and depth target types for writing rendertargets in render shaders
use std::{marker::PhantomData};

use super::{super::rec::*, with_thread_render_
    
    pub fn blend(self, blend: Blend, color_value: Ten<<CF::Item as AsTen>::S, <CF::Item as AsTen>::D>) {
        with_thread_render_pipeline_info_mut(|r| {
            let target = r.color_targets.get_mut(self.color_target_index).expect("color target index out of bounds");
            target.blending = Some(blend)
        });
        self.write(color_value);
    }